[Python-checkins] r75686 - python/branches/py3k/Python/thread.c

antoine.pitrou python-checkins at python.org
Sat Oct 24 22:43:49 CEST 2009


Author: antoine.pitrou
Date: Sat Oct 24 22:43:49 2009
New Revision: 75686

Log:
Disable support for Irix threads



Modified:
   python/branches/py3k/Python/thread.c

Modified: python/branches/py3k/Python/thread.c
==============================================================================
--- python/branches/py3k/Python/thread.c	(original)
+++ python/branches/py3k/Python/thread.c	Sat Oct 24 22:43:49 2009
@@ -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
 


More information about the Python-checkins mailing list