23 Mar
2005
23 Mar
'05
6:49 p.m.
Ben Hutchings wrote:
This seems somewhat reasonable. However, currently there are two significantly different reasons for thread objects to be non-joinable - either the thread is default-constructed and is just an ID holder or the thread has already been joined. These should be distinguishable. I'm convinced that there should be entirely separate types for thread IDs and thread starter/joiner objects and don't understand why they were given the same type.
For various historical reasons, most of them no longer relevant. :-) FWIW, my position on the issue has always been that all (Boost) threads should be joinable.