"William E. Kempf" wrote: [...] > Yes, this is trivially implemented with boost::thread_specific_ptr<>. > Well, it may require the use of boost::once() as well, which complicates > things a little, but it's not that bad.
Really? Well, you might want to take a look at this: http://tinyurl.com/4xw6 (Subject: Re: pthread_once() et al and standards philosophy) http://tinyurl.com/4xwf (Subject: interaction of pthread_once() and longjmp()) > As for language extensions, that's still being thought on. Yeah, apart from GNU's ISO/IEC 9899:1999 and ISO/IEC 14882:1998 "Edits for Thread-Local Storage" and GCC/"ELF" TLS... https://listman.redhat.com/pipermail/phil-list/2002-November/000322.html (Subject: faster pthread_getspecific) regards, alexander. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost