]> granicus.if.org Git - python/commit
Fix NonRecursiveMutex on x64. The signature of the faux-InterlockedCompareExchange...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 7 May 2007 18:28:12 +0000 (18:28 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Mon, 7 May 2007 18:28:12 +0000 (18:28 +0000)
commitb4c285a25b78296afbc1a26f7ac14a41d011a48c
tree8203c0c33deb60adeec4ebd026b5e07b841be983
parent7bca027f64945b2ea2e3f3d4e6d1fb2f2a9ea76c
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.
Python/thread_nt.h