Re: Where is pthreads implemented?

From: Chase Venters
Date: Sun Aug 20 2006 - 13:36:58 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/