[issue11618] Locks broken wrt timeouts on Windows
sbt
report at bugs.python.org
Mon Mar 21 15:58:29 CET 2011
sbt <shibturn at gmail.com> added the comment:
Benchmarks (on an old laptop running XP without a VM) doing
D:\Repos\cpython\PCbuild>python -m timeit -s "from threading import Lock; l = Lock()" "l.acquire(); l.release()"
1000000 loops, best of 3: 0.934 usec per loop
default: 0.934
locktimeout.patch: 0.965
semlocknt.patch: 2.76
locktimeout2.patch: 2.03
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11618>
_______________________________________
More information about the Python-bugs-list
mailing list