diff Python/thread.c @ 56730:6ca642d4f42f

Disable support for Irix threads
author Antoine Pitrou <solipsis@pitrou.net>
date Sat, 24 Oct 2009 20:43:49 +0000
parents f5c563a7de75
children cab14be0ada1
line wrap: on
line diff
--- a/Python/thread.c	Sat Oct 24 20:35:52 2009 +0000
+++ b/Python/thread.c	Sat Oct 24 20:43:49 2009 +0000
@@ -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 @@
 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