16 May
2005
16 May
'05
2:29 p.m.
Shetty, Diwakar wrote:
Hi,
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 anything special. Ben.