New submission from Michael Felt <aixto...@felt.demon.nl>:

For years Python includes the file /usr/include/pthread.h. The AIX 
documentation states that this needs to be the first include file included OR 
the define _THREAD_SAFE needs to be defined.

As this may have been true, might still be true, or might have never been true 
- this patch assures that the define is added to BASECFLAGS for AIX - and will 
not be forgotten during builds.

It may be advisable to include this in backports. This "conditional 
requirement" has been accurate for over 20 years.

----------
components: Build
messages: 343184
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: Threading and THREAD_SAFE for AIX
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37009>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to