mirror of https://github.com/python/cpython.git
Apparently on AIX when using gcc you need to call pthread_init()
(which is not a POSIX threads call!). Reported and confirmed by Brad Howes.
This commit is contained in:
parent
f9acc59c55
commit
d21744a1dd
|
@ -120,6 +120,9 @@ typedef struct {
|
||||||
*/
|
*/
|
||||||
static void _init_thread _P0()
|
static void _init_thread _P0()
|
||||||
{
|
{
|
||||||
|
#if defined(_AIX) && defined(__GNUC__)
|
||||||
|
pthread_init();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue