This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Destructor support for C++11 thread_local variables


> On 10/11/2012 03:17 PM, Roland McGrath wrote:
> >> One must construct all of the tls variables from a translation unit at
> >> the same time.
> > 
> > Is that a semantic requirement?  Is there a special technical reason for
> > it, or just "principle of least astonishment" for people who write
> > constructors with side effects?
> 
> Semantic requirement of c++11.

Is there any order requirement?  And is there a specific rationale for it
other than the aforementioned "principle of least astonishment"?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]