Re: CLONE_KILLVMCH flag proposal

David Wragg (dpw@doc.ic.ac.uk)
15 Feb 2000 20:20:44 +0000


Pavel Krauz <xkr@nettest.dk> writes:
> I am trying to modify pthread library a way in which it would not
> need manager thread. It seems that it is pretty feasible with
> CLONE_PARENT but one thing is missing.
>
> If the main thread dies due to some fatal error other threads will live
> further. This problem is not easily solved without manager thread so
> kernel will have to help here.

What's wrong with the PR_SET_PDEATHSIG option to prctl()?

(This does raise the issue of how prctl should interact with threads,
but that problem exists anyway).

David Wragg

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/