From owner-freebsd-stable Wed Jan 9 12:16:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gw.gbch.net (gw.gbch.net [203.143.238.93]) by hub.freebsd.org (Postfix) with SMTP id 9176837B41C for ; Wed, 9 Jan 2002 12:16:11 -0800 (PST) Received: (qmail 51112 invoked by uid 1001); 10 Jan 2002 06:16:08 +1000 X-Posted-By: GJB-Post 2.23 27-Nov-2001 X-Operating-System: FreeBSD 4.2-RELEASE i386 X-Uptime: 12:43 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-GPG-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-PGP-Public-Keys: http://www.gbch.net/keys.html Message-Id: Date: Thu, 10 Jan 2002 06:16:08 +1000 From: Greg Black Mail-Followup-To: freebsd-chat@FreeBSD.ORG To: John Utz Cc: Chynnee , Brent Casavant , freebsd-stable@FreeBSD.ORG Subject: Re: posix threads References: In-reply-to: of Wed, 09 Jan 2002 11:31:54 CST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Utz wrote [heavily reformatted for clarity]: | On Wed, 9 Jan 2002, Chynnee wrote: | > From: "Brent Casavant" | > > On Wed, 9 Jan 2002, Matthew L. Creech wrote: | > > > Chad David wrote: | > > > > | > > > > On Tue, Jan 08, 2002 at 10:21:22PM -1000, Arthur W. Neilson III wrote: | > > > > > Anyone know where I can find a good tutorial on posix pthreads? | > > > > > Does the freebsd 4.4 pthread implementation follow posix exactly or | > > > > > or there differences to be aware of? My copy of W. Richard Stevens | > > > > > "Advanced Programming in the Unix Environment" doesn't discuss | > > > > > threads at all. | > > > > | > > > > Go buy yourself a copy of David R. Butenhof's book "Programming with | > > > > POSIX Threads" (Addison-Wesley). It is a very good book. | > > > | > > > A second for this suggestion. Also if you want some online | > > > information to get you started, I thought the Sun threaded | > > > programming guide was useful: | > > > | > > > http://docs.sun.com/ab2/coll.45.10/MTP/@Ab2TocView? | > > > | > > > Matthew L. Creech | > > | > > I am surprised that nobody has mentioned this one yet, but I found | > > that "Pthreads Programming" by Nicols, Buttlar, and Farral (O'Reilly | > > and Associates) was instrumental to learning Pthreads programming. | > > | > > Hope that helps, | > > Brent Casavant | > | > noone mentioned it because the O'Reilly books go with out saying ;) | > | > brad | | yup, that book is full of Ass-Kickin' Goodness(tm) | | John L. Utz III The first two versions of that O'Reilly book were riddled with basic programming errors that made it next to useless. Although they did incorporate many of the fixes I offered them into the second printing, they misunderstood the issues so badly that the book was still a mess -- so I lost interest in getting it fixed. If you really want to spend your time learning about pthreads programming (something I don't recommend), look for better sources of guidance. BTW, this is not a topic for -stable so please respect the redirection to -chat. And please stop lazily putting comments at the top of messages and then including every byte of the original in your replies. Remove junk and irrelevant material and put your comments /after/ the quoted material they refer to. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message