summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/thread_pthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 995ef51..24f8f4e 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -120,6 +120,9 @@ typedef struct {
*/
static void _init_thread _P0()
{
+#if defined(_AIX) && defined(__GNUC__)
+ pthread_init();
+#endif
}
/*