Re: CLONE_KILLVMCH flag proposal

From: David Wragg (dpw@doc.ic.ac.uk)
Date: Tue Feb 15 2000 - 15:20:44 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:30 EST