Boost logo

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, kalb at, bjorn.karlsson at, gregod at, wekempf at