lkml.org 
[lkml]   [1999]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: clone() and CLONE_PID
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.047 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site