diff options
| author | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-26 21:10:23 +0800 |
|---|---|---|
| committer | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-26 21:10:23 +0800 |
| commit | 1aa611b27b5c6aca69579e7e873bb2ddddb1a2fc (patch) | |
| tree | 4d073d00abfaf5d7fbbf14d2b453823892adf00f /Python/thread.c | |
| parent | 60186e61c8796c0e4cff2e681adee0be4c0b4d42 (diff) | |
| parent | 95cbf834835f9d8128ba7a418e2f5bc5f99aa32f (diff) | |
| download | cpython-1aa611b27b5c6aca69579e7e873bb2ddddb1a2fc.tar.gz | |
merge from 3.1
Diffstat (limited to 'Python/thread.c')
| -rw-r--r-- | Python/thread.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Python/thread.c b/Python/thread.c index 4a9b4368ac..d224046e64 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -23,12 +23,6 @@ #include <stdlib.h> -#ifdef __sgi -#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */ -#undef _POSIX_THREADS -#endif -#endif - #include "pythread.h" #ifndef _POSIX_THREADS @@ -101,6 +95,7 @@ PyThread_init_thread(void) static size_t _pythread_stacksize = 0; #ifdef SGI_THREADS +#error SGI Irix threads are now unsupported, and code will be removed in 3.3. #include "thread_sgi.h" #endif @@ -109,10 +104,12 @@ static size_t _pythread_stacksize = 0; #endif #ifdef SUN_LWP +#error SunOS lightweight processes are now unsupported, and code will be removed in 3.3. #include "thread_lwp.h" #endif #ifdef HAVE_PTH +#error GNU pth threads are now unsupported, and code will be removed in 3.3. #include "thread_pth.h" #undef _POSIX_THREADS #endif @@ -122,6 +119,7 @@ static size_t _pythread_stacksize = 0; #endif #ifdef C_THREADS +#error Mach C Threads are now unsupported, and code will be removed in 3.3. #include "thread_cthread.h" #endif @@ -137,10 +135,6 @@ static size_t _pythread_stacksize = 0; #include "thread_plan9.h" #endif -#ifdef ATHEOS_THREADS -#include "thread_atheos.h" -#endif - /* #ifdef FOOBAR_THREADS #include "thread_foobar.h" |
