]> granicus.if.org Git - python/commit
Add a 'volatile' to the declaration of threadid in get_thread_ident().
authorGuido van Rossum <guido@python.org>
Thu, 27 Aug 1998 19:21:53 +0000 (19:21 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 27 Aug 1998 19:21:53 +0000 (19:21 +0000)
commit44ee479427dd895efcbef2ab263da901836966a4
treeed0341aa8f0189b16d7f5cd1bf25c5e37180d367
parent53195c1a83e5721e4261c341cd5e13e97e4d0eb6
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 :-(
Python/thread_pthread.h