Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 15 Dec 2003 15:06:53 -0800 | From | Roland McGrath <> | Subject | Re: [patch] Re: Problem with exiting threads under NPTL |
| |
> Or is that case impossible to trigger? Looks a bit like that. But if it > _is_ impossible to trigger (ie exit_signal cannot be -1 for a thread > leader), then why does the current code test for "&& leader->exit_signal > != -1)" at all?
I think that most of the logic testing exit_signal was written when CLONE_DETACHED could be used independent of CLONE_THREAD. We concluded that was unworkable due to some related races and changed clone so that the situation of a (live) thread group leader with exit_signal == -1 is now impossible. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |