
28 May
2008
28 May
'08
1:45 p.m.
Stefan Seefeld <seefeld@sympatico.ca> 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 false. Anthony -- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL