Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-01-27 03:36:01


"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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk