This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Thread exit leaves zombies
- From: Kevin B. Hendricks <kevin dot hendricks at sympatico dot ca>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 13 Dec 2001 09:08:04 -0500
- Subject: Re: Thread exit leaves zombies
Hi Ulrich,
I am seeing this too.
> This does not mean the current implementation is correct. It isn't.
> But your patch isn't doing to right thing. I see no possibility to
> fix this in the moment. The signal handling the kernel implements is
> not sufficient.
And we won't see a change to true posix signal handling in the kernel
during the 2.4 lifetime will we? Given Linus's attitude toward threads,
we may never see it.
So what is really wrong with his patch? What is't this patch doing
"right"? The whole idea of a "manager" thread is patially in response to
signal handling issues in the kernel anyway.
It seems like a sane workaround to the problem to me. What am I missing
here that makes this solution (obviously a workaround to kernel signal
handling issues) bad? glibc has included lots of such workarounds in the
past (and the manager thread is partially an example of that).
Kevin