pthread_t not defined by sys/types.h (fwd)
Daniel Eischen
deischen at freebsd.org
Tue Mar 8 23:00:39 GMT 2005
Anyone want to take a look at this?
---------- Forwarded message ----------
Date: Tue, 8 Mar 2005 07:04:41 -0800
From: Brooks Davis <brooks at one-eyed-alien.net>
To: freebsd-threads at 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
More information about the freebsd-standards
mailing list