Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2008-05-28 17:58:22


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


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