
28 May
2008
28 May
'08
9:58 p.m.
On May 28, 2008, at 3:49 PM, Johan Torp wrote:
Howard Hinnant wrote:
I agree with Stephan that !attached() implies that the thread was detached(), which is inaccurate.
You could update the boost documentation and c++ standard to state "attached to a thread of execution" instead of "represents a thread of execution". Then a default constructed thread would not be attached to a thread of execution and only those attached can be joined.
<shrug> We could call it foobar() and document it too. The point of the "best" name is to make it most likely for someone to understand what it does without reading (or re-reading) the docs. -Howard