Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 09:06:41 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        mike@freebsd.org
Subject:   Re: OpenSSL question for id_function()
Message-ID:  <200302271706.h1RH6fuU029749@vashon.polstra.com>
In-Reply-To: <20030227114651.A93968@espresso.bsdmike.org>
References:  <20030225155724.GB9400@attbi.com> <200302271640.h1RGeMx2029701@vashon.polstra.com> <20030227114651.A93968@espresso.bsdmike.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20030227114651.A93968@espresso.bsdmike.org>,
Mike Barcroft  <mike@FreeBSD.ORG> wrote:
> John Polstra <jdp@polstra.com> 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




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