Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2008-05-28 10:00:18


Anthony Williams wrote:
>> t.join();
>> ...
>> assert(t.attached() == false); // doesn't sound right, does it ?
>>
>
> Seems OK to me. t is now "not-a-thread", so attached() should return
> false.
>

My point is that this is not a valid question to ask. To me 'not
attached' suggests 'detached'. The 'joinable' concept as you describe it
covers a larger domain than the 'attached / detached' concept, so the
two aren't synonyms.

Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...

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