summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-24 20:43:49 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-24 20:43:49 (GMT)
commit2a9c2bb0fdcdc192b889f54fae10bc05aad939d1 (patch)
treeedfd6f0e29cfd5e8134c89c388227c6d5bce224e /Python/thread.c
parentdb6c567a720da3a71dd41671d4ceddf8300dc298 (diff)
downloadcpython-2a9c2bb0fdcdc192b889f54fae10bc05aad939d1.zip
cpython-2a9c2bb0fdcdc192b889f54fae10bc05aad939d1.tar.gz
cpython-2a9c2bb0fdcdc192b889f54fae10bc05aad939d1.tar.bz2
Disable support for Irix threads
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Python/thread.c b/Python/thread.c
index f5722a7..a839481 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