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.


View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at