
28 May
2008
28 May
'08
2 p.m.
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...