Commit d21744a1 authored by Guido van Rossum's avatar Guido van Rossum

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.
parent f9acc59c
...@@ -120,6 +120,9 @@ typedef struct { ...@@ -120,6 +120,9 @@ typedef struct {
*/ */
static void _init_thread _P0() static void _init_thread _P0()
{ {
#if defined(_AIX) && defined(__GNUC__)
pthread_init();
#endif
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment