diff options
author | Guido van Rossum <guido@python.org> | 2000-05-08 13:41:38 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-05-08 13:41:38 +0000 |
commit | 739e04ad980da883c5086d5d892ac2422bd6bce9 (patch) | |
tree | 02c7a9d4014e0a31dfc26cd7ab35aaf6f6dab3b7 /Python/thread.c | |
parent | a35c7b08ca34186d8e354763be8d0d8e863c0496 (diff) | |
download | cpython-739e04ad980da883c5086d5d892ac2422bd6bce9.tar.gz |
Andy Dustman: add GNU pth user-space thread support.
Diffstat (limited to 'Python/thread.c')
-rw-r--r-- | Python/thread.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/thread.c b/Python/thread.c index fcaa10d783..d5e026dba8 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" |