Skip to content

Commit 2a9c2bb

Browse files
committed
Disable support for Irix threads
1 parent db6c567 commit 2a9c2bb

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎Python/thread.c‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323

2424
#include <stdlib.h>
2525

26-
#ifdef __sgi
27-
#ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
28-
#undef _POSIX_THREADS
29-
#endif
30-
#endif
31-
3226
#include "pythread.h"
3327

3428
#ifndef _POSIX_THREADS
@@ -101,6 +95,7 @@ PyThread_init_thread(void)
10195
static size_t _pythread_stacksize = 0;
10296

10397
#ifdef SGI_THREADS
98+
#error SGI Irix threads are now unsupported, and code will be removed in 3.3.
10499
#include "thread_sgi.h"
105100
#endif
106101

0 commit comments

Comments
 (0)