summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-05-08 13:41:38 (GMT)
committerGuido van Rossum <guido@python.org>2000-05-08 13:41:38 (GMT)
commit07bd90e92d9cb8982ad541dda59bc0f8867e9414 (patch)
treed294154d48f2c77978e9c4006769c5cd063444c4 /Python/thread.c
parent8b41d5363a3b5b8554b4fb6e31ff71d9b0a702b9 (diff)
downloadcpython-07bd90e92d9cb8982ad541dda59bc0f8867e9414.zip
cpython-07bd90e92d9cb8982ad541dda59bc0f8867e9414.tar.gz
cpython-07bd90e92d9cb8982ad541dda59bc0f8867e9414.tar.bz2
Andy Dustman: add GNU pth user-space thread support.
Diffstat (limited to 'Python/thread.c')
-rw-r--r--Python/thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c
index fcaa10d..d5e026d 100644
--- a/Python/thread.c
+++ b/Python/thread.c
@@ -150,9 +150,13 @@ void PyThread_init_thread _P0()
#include "thread_lwp.h"
#endif
+#ifdef _GNU_PTH
+#include "thread_pth.h"
+#else
#ifdef _POSIX_THREADS
#include "thread_pthread.h"
#endif
+#endif
#ifdef C_THREADS
#include "thread_cthread.h"