Re: Undefined thread object for main thread (tid zero) even though the main thread exists

2012-12-04 Thread David Mertens
Mike - Thanks for the explanation. Can you think of any way (apart from hackery) that I could check that a detached thread with the given tid exists? I do not need to manipulate it, I just need to know if it exists. I might consider tracking the existing threads through a shared array, but then I

Re: Undefined thread object for main thread (tid zero) even though the main thread exists

2012-12-04 Thread Mike Pomraning
On Tue, Dec 4, 2012 at 9:15 PM, David Mertens wrote: > Thanks for the explanation. Can you think of any way (apart from hackery) > that I could check that a detached thread with the given tid exists? I do > not need to manipulate it, I just need to know if it exists. I might > consider tracking th