From owner-freebsd-current Thu Feb 27 9: 6:49 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A7C237B401; Thu, 27 Feb 2003 09:06:47 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 666F343FE9; Thu, 27 Feb 2003 09:06:42 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h1RH6fu5058867 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 27 Feb 2003 09:06:41 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.6/8.12.6/Submit) id h1RH6fuU029749; Thu, 27 Feb 2003 09:06:41 -0800 (PST) (envelope-from jdp) Date: Thu, 27 Feb 2003 09:06:41 -0800 (PST) Message-Id: <200302271706.h1RH6fuU029749@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: mike@freebsd.org Subject: Re: OpenSSL question for id_function() In-Reply-To: <20030227114651.A93968@espresso.bsdmike.org> References: <20030225155724.GB9400@attbi.com> <200302271640.h1RGeMx2029701@vashon.polstra.com> <20030227114651.A93968@espresso.bsdmike.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20030227114651.A93968@espresso.bsdmike.org>, Mike Barcroft wrote: > John Polstra writes: > > FreeBSD violates POSIX in this respect. The 1003.1 standard > > (section 2.5) requires pthread_t to be an arithmetic type. > > It looks like this requirement was removed in POSIX.1-2001. Interesting. I don't have that standard and wasn't aware of the change. Are you sure the requirement was removed? It was hidden away in an obscure place in the 1996 edition of the standard. There's a table of "Primitive System Data Types" containing the usual suspects (dev_t, gid_t, uid_t, ...) and including the thread types I mentioned. Then there's a sentence in the nearby text that says, "All of the types listed in Table 2-1 shall be arithmetic types ..." John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message