From owner-freebsd-hackers Wed Sep 2 01:12:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA11148 for freebsd-hackers-outgoing; Wed, 2 Sep 1998 01:12:47 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA11142 for ; Wed, 2 Sep 1998 01:12:44 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id SAA28063; Wed, 2 Sep 1998 18:24:17 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809020824.SAA28063@cimlogic.com.au> Subject: Re: Thread calls In-Reply-To: from Daniel O'Connor at "Sep 2, 98 04:36:17 pm" To: doconnor@gsoft.com.au (Daniel O'Connor) Date: Wed, 2 Sep 1998 18:24:16 +1000 (EST) Cc: tlambert@primenet.com, tinguely@plains.NoDak.edu, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] 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 Daniel O'Connor wrote: > > On 02-Sep-98 Terry Lambert wrote: > > > 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. > So, why was the PTHREAD_MUTEX_INITIALIZER thing implemented if it broke the > ability to easily check between standards? ie is there a good reason to not > back that change out until a more comprehensive set of patches comes along? I don't agree with Terry's assessment of Draft 10 vs Draft 4 issues in libc_r. AFAIK, the interfaces there are 1003.1c, and they exercise the POSIX standard clause: "either it shall be implemented like this or not implemented". Too many threaded programs assume that all the optional functions are supposed to be implemented. Just because you read it in a message on a mailing list doesn't make it true. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message