[issue15139] Speed up threading.Condition wakeup
Kristján Valur Jónsson
report at bugs.python.org
Tue Jul 3 13:03:16 CEST 2012
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
Thank you Richard.
A new patch is included. Now the processing of "timeout" is done in _acquire_condition(). None is infinite, and negative timeouts are clipped to zero.
Do you feel that it is unnecessary to be able to support other locks than Lock() and RLock() as the outer lock? If so, then we can drop the "_acquire_restore()" as suggested by Martin.
----------
Added file: http://bugs.python.org/file26243/condition.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15139>
_______________________________________
More information about the Python-bugs-list
mailing list