|
Boost : |
From: Gili (cowwoc_at_[hidden])
Date: 2005-07-12 22:50:08
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/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk