[issue10260] Add a threading.Condition.wait_for() method
Kristján Valur Jónsson
report at bugs.python.org
Mon Nov 1 14:54:13 CET 2010
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
The wait_for() method is basically a distillation of the Semaphore.acquire() method, which tries to intelligently handle a non-trivial timeout.
With this method it is now possible to simplify Semaphore.acquire, although I didn't want to do so in this patch to keep its scope smaller.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10260>
_______________________________________
More information about the Python-bugs-list
mailing list