lkml.org 
[lkml]   [2000]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCO: "thread creation is about a thousand times faster than on
On Thu, Aug 24, 2000 at 08:27:39PM +0200, Andi Kleen wrote:
> On Thu, Aug 24, 2000 at 11:28:42AM -0600, yodaiken@fsmlabs.com wrote:
> > Right: so clone with the PARENT flag set. What's the problem?
>
> Then your original parent would see any thread deaths. Probably not
> what you wanted.

Why not? As far as I know, POSIX says, when you fork, your child is
not threaded; when you pthread_create, you create something that must be
visible only from within the current process (it _may_ be visible
elsewhere, but does not have to be). So iit makes sense
for the original parent to be the only only parent of all threads within
a process.






--
---------------------------------------------------------
Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.
www.fsmlabs.com www.rtlinux.com

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.081 / U:1.572 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site