
28 May
2008
28 May
'08
8:45 a.m.
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.