Thread exit leaves zombies
Kevin B. Hendricks
kevin.hendricks@sympatico.ca
Thu Dec 13 09:22:00 GMT 2001
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
More information about the Libc-alpha
mailing list