This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]