Linux-kernel mailing list archive 1999-36,: Re: clone() and CLONE_PID

# Re: clone() and CLONE_PID

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Tue, 7 Sep 1999 17:31:47 +0100 (GMT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Peter Goh: "Abit HPT 366 UDMA controller configuration"
- Previous message: Johannes Erdfelt: "Re: Athlon (K7) and X = crash"

On Tue, 7 Sep 1999, Lorenzo Allegrucci wrote:

> This is from the LinuxThreads README file:

> One thing that they do not share
> is their pid's and parent pid's. According to the standard, they
> should have the same, but that's one thing we cannot achieve
> in this implementation (until the CLONE_PID flag to clone() becomes
> usable).
>
> When does the CLONE_PID flag to clone() becomes usable? 2.4.x? 2.5.x?

2.3 has the facility to share parent process ids. (With a suitably
patched libpthread, this can shave a _lot_ of time for thread creation
and destruction.)

Does the pthread standard really require the pid sharing semantics?
That will break quite a bit of the kernel, and an awful lot of userspace.

Matthew.

-
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: Peter Goh: "Abit HPT 366 UDMA controller configuration"
- Previous message: Johannes Erdfelt: "Re: Athlon (K7) and X = crash"