
I don't understand. What about the quite explicit message in http://www.boost.org/doc/html/threads/implementation_notes.html#threads.impl ementation_notes.win32 ? /David
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Gili Sent: Tuesday, July 12, 2005 11:50 PM To: boost@lists.boost.org Subject: [boost] Bug in boost::thread
If one creates a new boost::thread within DLLMain or a function it invokes, CreateThread (invoked by Boost) creates a new thread but does not start it. Boost's code then waits on the native thread to start before returning from the constructor but because this never occurs it blocks forever.
You should either document this limitation (i.e. one may not create a boost::thread within DLLMain or a function invoked by it) or change the implementation to handle this limitation.
Thank you, Gili -- http://www.desktopbeautifier.com/ _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost