[Python-checkins] python/dist/src/Python thread_pthread.h,2.43,2.44

loewis@users.sourceforge.net loewis@users.sourceforge.net
Tue, 21 Jan 2003 02:14:43 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv25008/Python

Modified Files:
	thread_pthread.h 
Log Message:
Don't use Posix semaphores on Solaris 8. Fixes #662787.


Index: thread_pthread.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v
retrieving revision 2.43
retrieving revision 2.44
diff -C2 -d -r2.43 -r2.44
*** thread_pthread.h	11 Dec 2002 13:12:30 -0000	2.43
--- thread_pthread.h	21 Jan 2003 10:14:41 -0000	2.44
***************
*** 105,109 ****
   * mutexes and condition variables:
   */
! #ifdef _POSIX_SEMAPHORES
  #  define USE_SEMAPHORES
  #else
--- 105,109 ----
   * mutexes and condition variables:
   */
! #if defined(_POSIX_SEMAPHORES) && !defined(HAVE_BROKEN_POSIX_SEMAPHORES)
  #  define USE_SEMAPHORES
  #else