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

Arjan van de Ven
2004-06-08T06:03:48Z

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

On Mon, Jun 07, 2004 at 07:02:34PM -0400, Russell Leighton wrote:
> >
> So Ia64 does have it..that's good. Does glibc wrap it?
>
> I agree with the above...could glibc's clone() should have a size added?
> Then the arch specific stack issues
> could be hidden.

glibc doesn't provide clone other than a raw syscall wrapper, under the
assumption that when you want threads, you'll use it's thread creation call.
Not too unfair imo.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]