Linux-kernel mailing list archive 2000-07,: Re: CLONE_KILLVMCH flag proposal

# Re: CLONE_KILLVMCH flag proposal

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Dimitris Michailidis: "Re: lowlatency-2.2.14-B1 + 2.2.14aa7 fixes crash, but..."
- Previous message: tytso@mit.edu: "Re: SMP, ext2, again: rm: cannot remove file: Input/output error"
- Maybe in reply to: Pavel Krauz: "CLONE_KILLVMCH flag proposal"
- Next in thread: Alon Ziv: "Re: CLONE_KILLVMCH flag proposal"

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/

- Next message: Dimitris Michailidis: "Re: lowlatency-2.2.14-B1 + 2.2.14aa7 fixes crash, but..."
- Previous message: tytso@mit.edu: "Re: SMP, ext2, again: rm: cannot remove file: Input/output error"
- Maybe in reply to: Pavel Krauz: "CLONE_KILLVMCH flag proposal"
- Next in thread: Alon Ziv: "Re: CLONE_KILLVMCH flag proposal"