Boost logo

Boost :

From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2008-05-28 09:45:13

Stefan Seefeld <seefeld_at_[hidden]> writes:

> Now that you have clarified the meaning of 'joinable' (thanks !), I
> think 'attached' is not a synonym for it.
> thread t(task);
> ...
> 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


Anthony Williams            | Just Software Solutions Ltd
Custom Software Development |
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

Boost list run by bdawes at, gregod at, cpdaniel at, john at