mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ typedef struct {
|
|||
*/
|
||||
static void _init_thread _P0()
|
||||
{
|
||||
#if defined(_AIX) && defined(__GNUC__)
|
||||
pthread_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue