|
Boost : |
From: David Bergman (davidb_at_[hidden])
Date: 2005-07-12 23:16:41
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_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Gili
> Sent: Tuesday, July 12, 2005 11:50 PM
> To: boost_at_[hidden]
> 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
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk