[issue11618] Locks broken wrt timeouts on Windows

Antoine Pitrou report at bugs.python.org
Mon Mar 21 21:40:49 CET 2011


Antoine Pitrou <pitrou at free.fr> 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 :)

Yes, in my timings it doesn't show significant improvements compared to
the semaphore approach (although again it's on a VM, so I'm not sure how
much this reflects a native Windows system).

----------

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


More information about the Python-bugs-list mailing list