$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2005-05-16 09:29:27
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.