Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <20050308150441.GB31278@odin.ac.hmc.edu>

next in thread | raw e-mail | index | archive | help

--tjCHc7DPkfUGtrlw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
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

--tjCHc7DPkfUGtrlw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCLb8EXY6L6fI4GtQRAiQQAKCSyRG5JMxVmlDYE/7P0fEN5msnMgCdF6Mq
O/ignkOhH0qu1h9JTrMKDPU=
=5ti+
-----END PGP SIGNATURE-----

--tjCHc7DPkfUGtrlw--



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