[issue37009] Threading and THREAD_SAFE for AIX

Michael Felt report at bugs.python.org
Wed May 22 08:01:09 EDT 2019


New submission from Michael Felt <aixtools at 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 <report at bugs.python.org>
<https://bugs.python.org/issue37009>
_______________________________________


More information about the Python-bugs-list mailing list