From owner-freebsd-hackers Sat Feb 1 17:02:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA21425 for hackers-outgoing; Sat, 1 Feb 1997 17:02:13 -0800 (PST) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA21416 for ; Sat, 1 Feb 1997 17:02:08 -0800 (PST) Received: (qmail 6592 invoked by uid 5); 2 Feb 1997 01:01:51 -0000 MBOX-Line: From jb@freebsd1.cimlogic.com.au Sun Feb 2 11:58:11 1997 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id LAA17811; Sun, 2 Feb 1997 11:58:11 +1100 (EST) From: John Birrell Message-Id: <199702020058.LAA17811@freebsd1.cimlogic.com.au> Subject: Re: pthread library on FreeBSD To: nw1@cs.wustl.edu (Nanbor Wang) Date: Sun, 2 Feb 1997 11:58:10 +1100 (EST) Cc: hackers@freebsd.org, jb@cimlogic.com.au In-Reply-To: <199702010346.VAA26518@siesta.cs.wustl.edu> from Nanbor Wang at "Jan 31, 97 09:46:41 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] 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 Nanbor Wang wrote: > Hi all, > > Thanks for your help I had made some progress on porting ACE to > FreeBSD. However, I encountered another obstacle. There seems to be > some pthread functions unimplemented. After looking to its source > code, here is a list of functions that are missing and will be nice if > ACE can make use of them. > > pthread_mutexattr_destroy: > pthread_condattr_init: > pthread_condattr_destroy: > pthread_attr_setstackaddr: > pthread_attr_setdetachstate: > These are nowhere to be found. > > pthread_cleanup_push: > pthread_cleanup_pop: > Have underlying functions _thread_cleanup_push and > _thread_cleanup_pop but there is no API functions. (Possibly > implemented?) These can (will!) be renamed as pthread_cleanup_push and pthread_cleanup_pop since they comply with 1003.1c. > > Does anyone know this is because that pthread lib (for BSD) itself is > still ongoing or just because the pthread lib source files in Ongoing. > FreeBSD are simply outdated? I am running -current as of 1/26. > > Under either circumstance, is there anyway to get around this? TIA. If you can test these functions, I'll send you diffs against -current. > > Later, > > Nanbor Wang http://www.cs.wustl.edu/~nw1/ > Regards, -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au; jb@netbsd.org 119 Cecil Street Ph +61 3 9690 6900 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137