Boost Users :
From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2005-05-16 09:29:27
Shetty, Diwakar wrote:
> I am using boost:thread.
> There does not seem to be any constructor
> which specifies whether the thread can be
> started in detached state.
This is correct.
> Will I have to use the native OS threading
> calls to do this?
No. When a joinable boost::thread is destroyed without being used to
join, the thread is detached instead. So normally you don't need to do
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