Boost logo

Boost Users :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2004-12-08 08:10:36


On Wed, 8 Dec 2004 11:44:18 +0200, Yuval Ronen <ronen_yuval_at_[hidden]> wrote:
> Hi.
> I believe that there is a bug in thread::thread() under Windows.
> The code uses GetCurrentThread() WinAPI function, but this is not enough. If
> you'll try to create such a thread object, and pass its reference to another
> thread which will join it - something like [...]

A default-constructed thread is documented as being non-joinable:

http://boost.org/doc/html/thread.html#id401409-bb

-- 
Caleb Epstein
caleb dot epstein at gmail dot com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net