[cpp-threads] Asynchronous Execution Issues
Peter Dimov
pdimov at mmltd.net
Mon Apr 27 17:38:40 BST 2009
Anthony Williams:
> 1) Make it undefined behaviour for a thread_local destructor to access
> any objects of static storage duration.
Note that this is basically the case under POSIX, where static destructors
(or atexit handlers, if one prefers a C-only formulation) run before TLS
destructors for the thread calling exit() (and, potentially, for all threads
canceled/told to exit by a static destructor.)
More information about the cpp-threads
mailing list