[issue11618] Locks broken wrt timeouts on Windows

Antoine Pitrou report at bugs.python.org
Mon Apr 23 22:21:27 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> Is a 60% performance increase for the common case of acquiring an
> uncontested lock worth doing?

Yes, I agree it is. However, the Vista-specific path seems uninteresting, if it's really 2% faster.

> our console profilers were alarmed at all the kernel transitions caused 
> by the GIL being ticked....

That's the old GIL. The new GIL uses a fixed timeout with a condition variable.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11618>
_______________________________________


More information about the Python-bugs-list mailing list