Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 09:43:56 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        wollman@lcs.mit.edu
Subject:   Re: OpenSSL question for id_function()
Message-ID:  <200302271743.h1RHhuGw029809@vashon.polstra.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200302271715.h1RHFri9048957@khavrinen.lcs.mit.edu>,
Garrett Wollman  <wollman@lcs.mit.edu> 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




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