[plt-scheme] parent and child thread's lifetime

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Apr 15 20:55:31 EDT 2009

At Wed, 15 Apr 2009 17:47:00 -0700, YC wrote:
> can a child thread outlast a parent thread's lifetime?

Yes. There's not really any hierarchy among threads (though there is a
hierarchy among custodians for termination or thread groups for
scheduling).

> I have a thread that creates another thread and then pretty much immediately
> exits.  The child thread seem to hang without completing all of its tasks.
> I verified that the child thread is dead.
> 
> Is there a potential issue between their respective lifetimes?

No, it must be something else. The death of the older thread doesn't
automatically kill the newer thread.



Posted on the users mailing list.