Subject: [boost] [thread] static thread_specific_ptr?
Date: 2009-02-25 16:07:11
can I create an static thread specific pointer for class which will initalized
by different threads?
static thread_specific_ptr< U > tss_ptr_;
in some threads:
X::tss_ptr_.reset( new U);
And for each thread X::tss_ptr_ will point to a different object in the
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk