This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: User level threads
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Joy Mukherjee <jmukherj at csgrad dot cs dot vt dot edu>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc at gcc dot gnu dot org
- Date: Thu, 15 Nov 2001 21:48:26 +1300
- Subject: Re: User level threads
- References: <Pine.OSF.4.33.0111142335330.31294-100000@csgrad.cs.vt.edu>
Joy Mukherjee wrote:
>Hi Andrew ,
> Is pthreads a user level package ? Or is it a kernel level ? I
>always thought it was the later . If I was wrong , then it solves a
>lot of problems for me . But where or how can I get the source code for
>pthreads ? I need to make some modifications of my own to the threads
>package .
> Actually, I do not need support for pre-emptive scheduling so
>much, but I must have the source codes . Thanks a lot .
>
Linuxthreads is part of glibc. It not a user-space threading package,
rather 1:1 kernel threads. Here are some user-level and hybrid (M:N)
threads packages:
GNU Pth: http://www.gnu.org/software/pth/
ngpt (next-generation linux threads):
http://www-124.ibm.com/developerworks/oss/pthreads
NSPR's threads: http://www.mozilla.org/projects/nspr/
regards
Bryce.