From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-07-02 11:20:08
From: "Alexander Terekhov" <terekhov_at_[hidden]>
> > > Question: can a thread run without a corresponding thread object?
> > Yes. This is a "detached" thread.
> NO. A thread can not run without corresponding thread object.
A fine example of the confusion created by introducing the 'thread' concept.
A thread cannot run without its corresponding object that is hidden in the
OS. However, a boost::thread DOES NOT represent the OS thread object. It can
never do that, since its lifetime is controlled by the user, not the OS.
In particular, you can create several boost::thread's that refer to the same
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk