Issue 37009: Threading and THREAD_SAFE for AIX (original) (raw)

Issue37009

Created on 2019-05-22 12:01 by Michael.Felt, last changed 2022-04-11 14:59 by admin.

Messages (3)
msg343184 - (view) Author: Michael Felt (Michael.Felt) * Date: 2019-05-22 12:01
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.
msg365359 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2020-03-30 23:27
> this patch assures that the define is added to BASECFLAGS for AIX - and will not be forgotten during builds. @Micheal.Felt I can't see an attached patch or PR, FYI.
msg365898 - (view) Author: Michael Felt (Michael.Felt) * Date: 2020-04-07 08:58
Yes, looks like I need to find that. thx for the reminder.
History
Date User Action Args
2022-04-11 14:59:15 admin set github: 81190
2020-11-18 10:12:55 christian.heimes set versions: + Python 3.9, Python 3.10, - Python 2.7, Python 3.5, Python 3.6, Python 3.7
2020-11-17 21:03:23 kadler set nosy: + kadler
2020-04-07 08:58:51 Michael.Felt set messages: +
2020-03-30 23:27:22 BTaskaya set nosy: + BTaskayamessages: +
2019-05-22 12:01:09 Michael.Felt create