Home | History | Annotate | Download | only in python2.7

Lines Matching defs:Condition

29 __all__ = ['activeCount', 'active_count', 'Condition', 'currentThread',
217 # Internal methods used by condition variables
241 def Condition(*args, **kwargs):
242 """Factory function that returns a new condition variable object.
244 A condition variable allows one or more threads to wait until they are
255 """Condition variables allow one or more threads to wait until they are
291 return "<Condition(%s, %d)>" % (self.__lock, len(self.__waiters))
315 awakened by a notify() or notifyAll() call for the same condition
373 """Wake up one or more threads waiting on this condition, if any.
378 This method wakes up at most n of the threads waiting for the condition
400 """Wake up all threads waiting on this condition.
436 self.__cond = Condition(Lock())
560 self.__cond = Condition(Lock())
689 self.__block = Condition(Lock())
1224 # Any lock/condition variable may be currently locked or in an
1253 self.rc = Condition(self.mon)
1254 self.wc = Condition(self.mon)