comparison Python/thread_os2.h @ 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 0a4ad83fd654
children e38335d4df91 df5719c298db
comparison
equal deleted inserted replaced
41633:5d0969167f6d 41636:be1e708d5d3d