$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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...