[Python-checkins] CVS: python/dist/src/Python thread_pthread.h,2.33,2.34

Martin v. L?wis loewis@users.sourceforge.net
2001年10月15日 07:34:44 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv3346/Python
Modified Files:
	thread_pthread.h 
Log Message:
Do not define _POSIX_THREADS if unistd.h defines it.
Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
Index: thread_pthread.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v
retrieving revision 2.33
retrieving revision 2.34
diff -C2 -d -r2.33 -r2.34
*** thread_pthread.h	2001年10月12日 21:49:17	2.33
--- thread_pthread.h	2001年10月15日 14:34:42	2.34
***************
*** 76,80 ****
 * pthread implementation.
 */
! #ifdef PY_PTHREAD_STD
 # define SET_THREAD_SIGMASK pthread_sigmask
 #else
--- 76,80 ----
 * pthread implementation.
 */
! #ifdef HAVE_PTHREAD_SIGMASK
 # define SET_THREAD_SIGMASK pthread_sigmask
 #else

AltStyle によって変換されたページ (->オリジナル) /