From owner-freebsd-hackers Wed Sep 2 00:03:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA29516 for freebsd-hackers-outgoing; Wed, 2 Sep 1998 00:03:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA29491 for ; Wed, 2 Sep 1998 00:03:36 -0700 (PDT) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id AAA27439; Wed, 2 Sep 1998 00:02:33 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp03.primenet.com, id smtpd027420; Wed Sep 2 00:02:28 1998 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id AAA21352; Wed, 2 Sep 1998 00:02:25 -0700 (MST) From: Terry Lambert Message-Id: <199809020702.AAA21352@usr02.primenet.com> Subject: Re: Thread calls To: doconnor@gsoft.com.au (Daniel O'Connor) Date: Wed, 2 Sep 1998 07:02:25 +0000 (GMT) Cc: tlambert@primenet.com, freebsd-hackers@FreeBSD.ORG, tinguely@plains.NoDak.edu In-Reply-To: from "Daniel O'Connor" at Sep 2, 98 11:13:38 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > the PMPTHREADS package (http://www.humanfactor.com/pthreads/) has > > > the pthread_setcancelstate(), pthread_setcanceltype(), and > > > pthread_testcancel() routines you require. > > > > But will require hacking to integrate into libc_r such that system > > call reentrancy is handled correctly. > > > > This is the problem with third party user space threading packages. > > > > Better to just add the code to FreeBSD. > > Well.. I was just asking if anyone was actually doing this or not =) > I did try the thrid party pthreads thing but it doesn't like -current, and then > I realised I'd have to recompile a few things (like X.. again) to use it. > > So, from what I hear, noone is implementing these calls in FreeBSD's libc_r? There is an OpenLDAP effort, which will necessitate these calls being implemented and/or the PTHREAD_MUTEX_INITIALIZER going away until FreeBSD complies with Draft 10 (Standard) pthreads. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message