Mercurial > cpython-lru_cache-weakref
diff Python/pystate.c @ 41636:be1e708d5d3d 2.5
Fix NonRecursiveMutex on x64. The signature of the faux-InterlockedCompareExchange function was wrong: It works with LONG and not PVOID objects, and it needs to have the target marked as volatile. Further, it is not needed at all for x64 targets, since that platform always has the real McCoy.
| author | Kristján Valur Jónsson <kristjan@ccpgames.com> |
|---|---|
| date | Mon, 07 May 2007 18:28:12 +0000 |
| parents | 66f265ac4ec4 |
| children | eefe4450f773 eb2eafda29b7 |
