mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Make better use of GNU Pth -- patch by Andy Dustman.
I can't test this, so I'm just checking it in with blind faith in Andy. I've tested that it doesn't broeak a non-Pth build on Linux. Changes include: - There's a --with-pth configure option. - Instead of _GNU_PTH, we test for HAVE_PTH. - Better signal handling. - (The config.h.in file is regenerated in a slightly different order.)
This commit is contained in:
parent
0344424793
commit
9e8181b809
7 changed files with 521 additions and 558 deletions
|
@ -109,13 +109,14 @@ void PyThread_init_thread(void)
|
|||
#include "thread_lwp.h"
|
||||
#endif
|
||||
|
||||
#ifdef _GNU_PTH
|
||||
#ifdef HAVE_PTH
|
||||
#include "thread_pth.h"
|
||||
#else
|
||||
#undef _POSIX_THREADS
|
||||
#endif
|
||||
|
||||
#ifdef _POSIX_THREADS
|
||||
#include "thread_pthread.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef C_THREADS
|
||||
#include "thread_cthread.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue