7 Apr
2009
7 Apr
'09
6:54 p.m.
On Tue, Apr 7, 2009 at 14:45, Jeremy Rottman
Currently this is what I am testing with, when all threads are finish running, I then join all the threads to terminate them. Doing so should give me a thread group size of 0. However, this is now the case. Currently after I join the threads, the thread group size is still 0 [sic? 24, probably].
Given that create_thread returns a pointer to the new thread, it makes since that join_all wouldn't remove the threads, since then the pointer would dangle. I don't know the best way to do what you want, though.