[Python-checkins] CVS: python/dist/src/Python thread_pthread.h,2.39,2.40
Martin v. L?wis
loewis@users.sourceforge.net
Sun, 17 Mar 2002 09:19:03 -0800
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv6115
Modified Files:
thread_pthread.h
Log Message:
Document that _POSIX_SEMAPHORES is predefined.
Index: thread_pthread.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -d -r2.39 -r2.40
*** thread_pthread.h 17 Mar 2002 09:53:51 -0000 2.39
--- thread_pthread.h 17 Mar 2002 17:19:00 -0000 2.40
***************
*** 12,15 ****
--- 12,19 ----
#endif
#include <signal.h>
+
+ /* The POSIX spec says that implementations supporting the sem_*
+ family of functions must indicate this by defining
+ _POSIX_SEMAPHORES. */
#ifdef _POSIX_SEMAPHORES
#include <semaphore.h>