[issue1332] threading.RLock().aquire(0) fails with python-2.5.1.amd64.msi

Warren DeLano report at bugs.python.org
Fri Oct 26 21:12:06 CEST 2007


Warren DeLano added the comment:

Hmm.  Well, for one thing, we're falling back on Python's 
interlocked_cmp_xchg instead of using Windows' 
InterlockedCompareExchange (or should it InterlockCompareExchange64?).  
Python's implementation is clearly assuming 64 bit counters, but the 
other native Windows Interlocked* functions may indeed be operating on 
32 bit counters, hence the mismatch.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1332>
__________________________________


More information about the Python-bugs-list mailing list