|
Boost : |
From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-06-30 14:06:42
William E. Kempf wrote:
[...]
> As already pointed out, to associate data with a thread you use
> thread_specific_ptr. BTW, you still have to remember that the
> functor is copied, and data passed to/in the functor is not
> considered part of the thread in any event.
Ok, how do you find out the data of the current thread? The key in
boost::detail::tss is not the same as the one in boost::thread.
Regards,
Philippe A. Bouchard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk