Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 1996 07:14:57 +1100 (EST)
From:      John Birrell <cimaxp1!jb@melb.werple.net.au>
To:        atrad.adelaide.edu.au!msmith@melb.werple.net.au (Michael Smith)
Cc:        Glock.COM!mmead@melb.werple.net.au, atrad.adelaide.edu.au!msmith@melb.werple.net.au, novell.com!darrend@melb.werple.net.au, FreeBSD.org!freebsd-hackers@melb.werple.net.au
Subject:   Re: User level threads.
Message-ID:  <199603212023.HAA02509@melb.werple.net.au>
In-Reply-To: <199603210651.RAA11488@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 21, 96 05:21:47 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> matthew c. mead stands accused of saying:
> > 
> > > FreeBSD-current has pthreads and a thread-safe libc.
> > 
> > 	Where can pthreads be found?
> 
> Hmm, immediate inspection only finds /usr/include/pthread.h and the
> libc_r (reentrant aka. thread-safe) libc.

There is still a *lot* of work required to make all libc functions
reentrant. This is because of all the static variables used. 8-(.

The /usr/src/lib/lib_r directory builds libc_r from libc source, adding
POSIX thread functions. pthread.h is the only header file required.
Compile with -D_THREAD_SAFE and link with -nostdlib -lc_r.

> 
> John Birrel (one l? two?) should be responding to this soon 8)  IIRC, it's

Two. 8-)

> his work.
> -- 
> ]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[

-- 
John Birrell                                CIMlogic Pty Ltd
jb@cimlogic.com.au                          119 Cecil Street
Ph  +61  3 9690 6900                        South Melbourne Vic 3205
Fax +61  3 9690 6650                        Australia
Mob +61 18  353  137




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603212023.HAA02509>