From owner-freebsd-hackers Mon Apr 22 18:06:54 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA08354 for hackers-outgoing; Mon, 22 Apr 1996 18:06:54 -0700 (PDT) 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 SAA08294 for ; Mon, 22 Apr 1996 18:06:37 -0700 (PDT) Received: from cimaxp1.UUCP (uucp@localhost) by melb.werple.net.au (8.7.5/8.7.3) with UUCP id KAA18978 for mira!freefall.freebsd.org!freebsd-hackers; Tue, 23 Apr 1996 10:13:03 +1000 (EST) Message-Id: <199604230013.KAA18978@melb.werple.net.au> Received: by cimaxp1.cimlogic.com.au; (5.65/1.1.8.2/10Sep95-0953AM) id AA19036; Tue, 23 Apr 1996 10:13:43 +1000 From: John Birrell Subject: Re: Help! I need info on pthreads. To: luke.pmr.com!bob@melb.werple.net.au (Bob Willcox) Date: Tue, 23 Apr 1996 10:13:43 +1000 (EST) Cc: freefall.freebsd.org!freebsd-hackers@melb.werple.net.au In-Reply-To: <199604222055.PAA09876@luke.pmr.com> from "Bob Willcox" at Apr 22, 96 03:55:59 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > I have suddenly been informed that I must convert a significant > piece of code to use pthreads. Since FreeBSD will be one of my > test vehicles I need to know if the libc_r library under 2.1-stable > and/or current is working. 2.2-current only. It works for me. If it doesn't work for _you_, let me know. Watch out for libc functions that aren't re-entrant, though. > > Also, I would greatly appreciate any pointers to documentation or > books that describe how to use pthreads. IEEE P1003.1c, D10 September 1994 DS5314 is the draft amendment which still has not been published. For online docs (equivalent to man files), try www.mit.edu:8001/people/proven/pthreads.html (I think) I haven't looked for books on how to use pthreads. I'm from an OSF/1 environment where we used DEC's poor examples as a start. Their bookreader docs aren't too bad at describing the functions, but they are not good at describing how to design a threaded application. > > Thanks a bunch, > -- > Bob Willcox > bob@luke.pmr.com > Austin, TX > Regards, -- 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