[issue11618] Locks broken wrt timeouts on Windows

Kristján Valur Jónsson report at bugs.python.org
Mon Mar 21 21:38:10 CET 2011


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Antoine:  I notice that even the fast path contains a ResetEvent() call.  I think this is a kernel call and so just as expensive as directly using a semaphore :).  Otherwise, the logic looks robust, although ResetEvent() and Event objects always give me an uneasy feeling.

----------

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


More information about the Python-bugs-list mailing list