From owner-freebsd-current Thu Feb 27 9:44: 3 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 637F937B401 for ; Thu, 27 Feb 2003 09:44:02 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D2F243F75 for ; Thu, 27 Feb 2003 09:44:01 -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 h1RHhuu5059032 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 27 Feb 2003 09:43:57 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.6/8.12.6/Submit) id h1RHhuGw029809; Thu, 27 Feb 2003 09:43:56 -0800 (PST) (envelope-from jdp) Date: Thu, 27 Feb 2003 09:43:56 -0800 (PST) Message-Id: <200302271743.h1RHhuGw029809@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: wollman@lcs.mit.edu Subject: Re: OpenSSL question for id_function() In-Reply-To: <200302271715.h1RHFri9048957@khavrinen.lcs.mit.edu> References: <20030225155724.GB9400@attbi.com> <200302271640.h1RGeMx2029701@vashon.polstra.com> <200302271715.h1RHFri9048957@khavrinen.lcs.mit.edu> 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 <200302271715.h1RHFri9048957@khavrinen.lcs.mit.edu>, Garrett Wollman wrote: > > We could define pthread_t as __intptr_t without making significant > changes to the implementation. Agreed. I think it would be "nicer" if it were a small integer like a file descriptor -- i.e., an index into a table containing the actual structures. I suspect that was the intent of the standard writers. But faking it into an __intptr_t would satisfy the text of the standard. 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