This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
pthreads define on Solaris
- To: gcc at gcc dot gnu dot org
- Subject: pthreads define on Solaris
- From: RDBrown at mira dot net
- Date: Tue, 14 Nov 2000 09:14:39 +1100 (EST)
- Reply-To: RDBrown at mira dot net,RodneyBrown at mynd dot com
On Solaris 2.5.1 using POSIX threads is controlled by either
_POSIX_C_SOURCE >= 199506L or _POSIX_PTHREAD_SEMANTICS
according to the getpwnam_r manpage.
Should the pthreads entry in the specs set _POSIX_PTHREAD_SEMANTICS
or should this be setup based on autoconf.
gcc/config/sparc/sol2.h:%{pthreads:-D_REENTRANT -D_PTHREADS} \