Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 1997 11:58:10 +1100 (EST)
From:      John Birrell <jb@cimlogic.com.au>
To:        nw1@cs.wustl.edu (Nanbor Wang)
Cc:        hackers@freebsd.org, jb@cimlogic.com.au
Subject:   Re: pthread library on FreeBSD
Message-ID:  <199702020058.LAA17811@freebsd1.cimlogic.com.au>
In-Reply-To: <199702010346.VAA26518@siesta.cs.wustl.edu> from Nanbor Wang at "Jan 31, 97 09:46:41 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nw1@cs.wustl.edu>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702020058.LAA17811>