lkml.org 
[lkml]   [2000]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Slow pthread_create() under high load


On Tue, 28 Mar 2000, Richard Gooch wrote:
>
> You would need to wrap up fork(2) as well, to clear the cached value
> for the child.

Yes, the child has to clear the value after a fork().

> And what about getppid(2)? This one is tricky, because it can actually
> change.

getppid() should be already handled correctly by the CLONE_PARENT thing,
so that shouldn't need any special attention.

Linus


-
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:57    [W:0.059 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site