This is the mail archive of the
mailing list for the GCC project.
Re: User level threads
- From: Joy Mukherjee <jmukherj at csgrad dot cs dot vt dot edu>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Wed, 14 Nov 2001 23:40:23 -0500 (EST)
- Subject: Re: User level threads
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
Actually, I do not need support for pre-emptive scheduling so
much, but I must have the source codes . Thanks a lot .
Deptt. of CS,
Blacksburg,VA - 24061.
On Wed, 14 Nov 2001, Andrew Pinski wrote:
> pthread is included with Linux (glibc 2.2 or above, at least) this
> includes Red Hat 7.0.
> Use "man -k pthread", you want pthread_create(3).
> You can use pthreads on other UNIX's too, like the *BSD, Darwin, and
> most commercial UNIX's.
> Andrew Pinski
> On Wednesday, November 14, 2001, at 11:06 , Joy Mukherjee wrote:
> > Hi !
> > Can anyone tell me where I can find a user level thread package
> > that supports pre-emptive switching of threads and can be compiled and
> > run
> > with gcc on Linux ? I tried out Cthreads ... but it does not compile on
> > my machine - Red Hat 7.0 . I need the entire package including source
> > code for further development Thanks a lot.
> > Joy.
> > Joy Mukherjee
> > Graduate Student,
> > Deptt. of CS,
> > Virginia Tech,
> > Blacksburg,VA - 24061.