Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2003-12-12 16:19:04


Bronek Kozicki wrote:

> I guess that threads library is
> somewhere waiting for this thread to get started?

Yes, it does. If you look in thread.cpp, you'll see that the last line of
the thread constructor (not the default constructor but the one that takes a
threadfunc parameter) calls param.wait(), which waits until the thread that
is being started signals that it has finished starting. Which, if it the
creating thread is inside DllMain, it never does.

Mike


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk