Boost logo

Boost :

From: Johan Torp (johan.torp_at_[hidden])
Date: 2008-05-28 04:45:06


David Abrahams-3 wrote:
>
> Seems to me that if we have "detach()," it we should be asking whether a
> thread is "attached()," rather than "joinable()." Our documentation
> says "if *this refers to a thread of execution..." all over it, which
> would seem to indicate that joinable() is an important question even
> when you're not about to join().
>
> Thoughts?
>

Is a thread which has finished but hasn't been joined still a "thread of
execution"? If not, there is a distinction between joinable and thread of
execution. Otherwise attached() seems like a better name.

Johan

-- 
View this message in context: http://www.nabble.com/%22joinable%22-tp17503906p17507833.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk