Re: Using getpid() often, another way? [was Re: clone() <-> getpid() bug in 2.6?]

From: Arjan van de Ven
Date: Mon Jun 07 2004 - 08:15:41 EST


On Sun, Jun 06, 2004 at 08:09:17PM -0400, Russell Leighton wrote:
> >a library using clone sounds suspect to me, I can't imagine an app using
> >pthreads being able to just use your library as a result.
> >
> Why? In what way would a program that uses pthreads interfere with
> threads created using clone()?

you do all kinds of tricks behind the threading library's back, and share
some stuff while not others. I'd be suprised of that would NOT break.

Attachment: pgp00000.pgp
Description: PGP signature