Thread exit leaves zombies

Kevin B. Hendricks kevin.hendricks@sympatico.ca
Thu Dec 13 11:39:00 GMT 2001


Hi Ulrich,

On December 13, 2001 01:31, Ulrich Drepper wrote:
> "Kevin B. Hendricks" <kevin.hendricks@sympatico.ca> writes:
> > So what is really wrong with his patch?  What is't this patch doing
> > "right"?
>
> It's doing nothing right.  It kills the manager which leaves the
> program itself useless.  It changes the signal model to one not found
> anywhere.  It's plainly wrong and has no future.

I thought we did just that (kill the manager thread) when calling 
pthread_kill_other_threads_np in preparation for a fork /exec call.

A very similar thing happens, doesn't it?   The calling thread is made the 
main thread, the manager is killed in preparation for an exec, etc.

We are talking about "exiting" of the entire set of threads aren't we, so 
the "future" of the program is not in doubt, just how it gets there.

Kevin



More information about the Libc-alpha mailing list