From owner-freebsd-hackers Thu Mar 21 16:37:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA29878 for hackers-outgoing; Thu, 21 Mar 1996 16:37:27 -0800 (PST) Received: from melb.werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA29868 for ; Thu, 21 Mar 1996 16:37:11 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id LAA09310; Fri, 22 Mar 1996 11:36:59 +1100 (EST) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id QAA20290; Thu, 21 Mar 1996 16:35:42 -0800 (PST) Message-Id: <199603220035.QAA20290@ref.tfs.com> Subject: Re: User level threads. To: cimaxp1!jb@melb.werple.net.au (John Birrell) Date: Thu, 21 Mar 1996 16:35:42 -0800 (PST) From: "JULIAN Elischer" Cc: atrad.adelaide.edu.au!msmith@melb.werple.net.au, Glock.COM!mmead@melb.werple.net.au, novell.com!darrend@melb.werple.net.au, FreeBSD.org!freebsd-hackers@melb.werple.net.au In-Reply-To: <199603212023.HAA02509@melb.werple.net.au> from "John Birrell" at Mar 22, 96 07:14:57 am X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > > > > 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 [[ The reason it is nopt made by default is several-fold.. 1/ it's not complete 2/ The Documantation is not ready (so you can't see what IS complete) *hint hint hint* :) 3/ connection between this package (a pthreads VARIANT) and the original pthreads is not final. > > -- > 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 > >