2006-08-20 17:35:38

by Irfan Habib

[permalink] [raw]
Subject: Where is pthreads implemented?

Hi,

Where is pthreads implemented in a linux system? Is it in some user
libraries or in the kernel?

Irfan


2006-08-20 17:39:37

by Chase Venters

[permalink] [raw]
Subject: Re: Where is pthreads implemented?

On Sunday 20 August 2006 12:35, Irfan Habib wrote:
> Hi,
>
> Where is pthreads implemented in a linux system? Is it in some user
> libraries or in the kernel?
>

You want the Native Posix Thread Library from glibc. The kernel's work is
mostly via the clone() and futex() syscalls.

Thanks,
Chase