Add a 'volatile' to the declaration of threadid in get_thread_ident().
According to Vladimir Marangozov, this is necessary for AIX, where high optimization levels inline this function and then get it wrong :-(
G
Guido van Rossum committed
44ee479427dd895efcbef2ab263da901836966a4
Parent: 53195c1