]> granicus.if.org Git - python/commitdiff
Disable support for Irix threads
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 24 Oct 2009 20:43:49 +0000 (20:43 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 24 Oct 2009 20:43:49 +0000 (20:43 +0000)
Python/thread.c

index f5722a7f13229ff307ebfd8d83890c6c3636a7a6..a839481b4f89377ceeb95168fd1def52e14ac467 100644 (file)
 
 #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