> From: Berin Loritsch [mailto:[EMAIL PROTECTED] 
>
> So what you are saying is that the threads do not naturally 
> clean themselves up like they do in other operating systems?  
> How about when the parent process is terminated?

The do clean up, but apparently (I checked some stuff) each OS
thread has an *exit value*, that is retrieved via join(). In the
time between thread end and join, the exit value is held in the
zombie thread. Then you join() the thread, and retrieve it
and the thread can die.

(I get some zombie threads in Java as well. They usually die after a few
seconds.)

/LS


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to