In article <[EMAIL PROTECTED]>,
Mike Barcroft  <[EMAIL PROTECTED]> wrote:
> John Polstra <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to