$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Automatic thread join
From: Igor R (boost.lists_at_[hidden])
Date: 2010-01-08 03:10:43
> Is there a way to join a thread automatically to the main thread when it
> finishes execution?
>
> In my case, the main thread does not call the "thread->join()", so even if
> the work of the thread is over, the thread never joins to the main thread.
> What is the technique usually used to make a thread join to its main thread,
> so as to avoid wastage of resources.
What kind of waist?
I guess the name of the function mislead you. join() in this context
means "wait" - nothing more.