[issue15038] Optimize python Locks on Windows
Antoine Pitrou
report at bugs.python.org
Tue Jun 19 17:07:47 CEST 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> The problem Richard describes isn´t a lost wakeup. PyCOND_SIGNAL
> _will_ wake up _at least_ one thread. It just isn't guaranteed to be
> one of those who previously called PyCOND_WAIT(): It could be a
> latecomer to the game, including the one who called Signal himself.
> If no such thread comes in to steal it, then one of the waiting
> threads _will_ wake up.
Ok, thanks for clearing up.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15038>
_______________________________________
More information about the Python-bugs-list
mailing list