Boost Users :
From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2008-06-14 19:33:56
VÃ¡clav Haisman schrieb:
> I think you could pass the value to your thread function as bare pointer
> and then store it in boost::thread_specific_ptr<>.
Ok, I would then encapsulate this behaviour in my own thread class that
wraps boost::thread. The thread_specific_ptr shall be initialized
automatically, that is without additional code at the thread creation site.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net