Disable support for Irix threads
This commit is contained in:
parent
db6c567a72
commit
2a9c2bb0fd
@ -23,12 +23,6 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef __sgi
|
|
||||||
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
|
|
||||||
#undef _POSIX_THREADS
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "pythread.h"
|
#include "pythread.h"
|
||||||
|
|
||||||
#ifndef _POSIX_THREADS
|
#ifndef _POSIX_THREADS
|
||||||
@ -101,6 +95,7 @@ PyThread_init_thread(void)
|
|||||||
static size_t _pythread_stacksize = 0;
|
static size_t _pythread_stacksize = 0;
|
||||||
|
|
||||||
#ifdef SGI_THREADS
|
#ifdef SGI_THREADS
|
||||||
|
#error SGI Irix threads are now unsupported, and code will be removed in 3.3.
|
||||||
#include "thread_sgi.h"
|
#include "thread_sgi.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user