in reply to Re^2: Thread Tracking.in thread Thread Tracking.
If you still care about your threads, why are you detaching them?
They don't return anything, so there's no point in joining them. And I don't want dead threads to accumulate in memory, so I detach them.
But it would be oh so useful to be able to wait until any remaining have gone before terminating the main thread.
And it would be so easy for the threads class to provide threads->list( threads->detached ).
And ->is_detached(). "Philosphical objections" aside.