[Python-checkins] python/dist/src/Python thread.c, 2.48,
2.49 thread_pthread.h, 2.48, 2.49
montanaro at users.sourceforge.net
montanaro at users.sourceforge.net
Fri Jan 16 19:29:34 EST 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv18168/Python
Modified Files:
thread.c thread_pthread.h
Log Message:
remove DGUX support.
Index: thread.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread.c,v
retrieving revision 2.48
retrieving revision 2.49
diff -C2 -d -r2.48 -r2.49
*** thread.c 19 Nov 2003 22:52:22 -0000 2.48
--- thread.c 17 Jan 2004 00:29:32 -0000 2.49
***************
*** 20,27 ****
#endif
- #ifdef __DGUX
- #define _USING_POSIX4A_DRAFT6
- #endif
-
#ifdef __sgi
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
--- 20,23 ----
Index: thread_pthread.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v
retrieving revision 2.48
retrieving revision 2.49
diff -C2 -d -r2.48 -r2.49
*** thread_pthread.h 19 Nov 2003 22:52:22 -0000 2.48
--- thread_pthread.h 17 Jan 2004 00:29:32 -0000 2.49
***************
*** 56,63 ****
# endif
- #elif defined(__DGUX)
- # define PY_PTHREAD_D6
- # error Systems with PY_PTHREAD_D6 are unsupported. See README.
-
#elif defined(__hpux) && defined(_DECTHREADS_)
# define PY_PTHREAD_D4
--- 56,59 ----
***************
*** 81,85 ****
# define pthread_condattr_default pthread_condattr_default
#endif
! #elif defined(PY_PTHREAD_STD) || defined(PY_PTHREAD_D6)
#if !defined(pthread_attr_default)
# define pthread_attr_default ((pthread_attr_t *)NULL)
--- 77,81 ----
# define pthread_condattr_default pthread_condattr_default
#endif
! #elif defined(PY_PTHREAD_STD)
#if !defined(pthread_attr_default)
# define pthread_attr_default ((pthread_attr_t *)NULL)
***************
*** 212,219 ****
(pthread_startroutine_t)func,
(pthread_addr_t)arg
- #elif defined(PY_PTHREAD_D6)
- pthread_attr_default,
- (void* (*)(void *))func,
- arg
#elif defined(PY_PTHREAD_D7)
pthread_attr_default,
--- 208,211 ----
***************
*** 240,244 ****
return -1;
! #if defined(PY_PTHREAD_D4) || defined(PY_PTHREAD_D6) || defined(PY_PTHREAD_D7)
pthread_detach(&th);
#elif defined(PY_PTHREAD_STD)
--- 232,236 ----
return -1;
! #if defined(PY_PTHREAD_D4) || defined(PY_PTHREAD_D7)
pthread_detach(&th);
#elif defined(PY_PTHREAD_STD)
More information about the Python-checkins
mailing list