Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2005 18:00:38 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        standards@freebsd.org
Subject:   pthread_t not defined by sys/types.h (fwd)
Message-ID:  <Pine.GSO.4.43.0503081757280.2547-100000@sea.ntplx.net>

next in thread | raw e-mail | index | archive | help
Anyone want to take a look at this?

---------- Forwarded message ----------
Date: Tue, 8 Mar 2005 07:04:41 -0800
From: Brooks Davis <brooks@one-eyed-alien.net>
To: freebsd-threads@freebsd.org
Subject: pthread_t not defined by sys/types.h

It turns out that SUSv3:

http://www.opengroup.org/onlinepubs/000095399/toc.htm

states that following variables must be defined in sys/types.h (their
definitions in pthread.h must be identical)

pthread_attr_t
pthread_barrier_t
pthread_barrierattr_t
pthread_cond_t
pthread_condattr_t
pthread_key_t
pthread_mutex_t
pthread_mutexattr_t
pthread_once_t
pthread_rwlock_t
pthread_rwlockattr_t
pthread_spinlock_t
pthread_t

It has been reported that Sun Grid Engine relies on this behavior.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0503081757280.2547-100000>