Lines Matching defs:wait
227 A condition variable allows one or more threads to wait until they are
288 def wait(self, timeout=None):
312 raise RuntimeError("cannot wait on un-acquired lock")
341 wait.
355 self.wait(waittime)
472 self._cond.wait(timeout)
548 to false with the clear() method. The wait() method blocks until the flag is
587 that call wait() once the flag is true will not block at all.
597 Subsequently, threads calling wait() will block until set() is called to
604 def wait(self, timeout=None):
622 signaled = self._cond.wait(timeout)
641 points. Threads block on 'wait()' and are simultaneously awoken once they
652 default for all subsequent 'wait()' calls.
669 def wait(self, timeout=None):
689 # We wait until someone releases us
701 # It is draining or resetting, wait until done
702 self._cond.wait()
766 attempting to 'wait()' will have BrokenBarrierError raised.
817 # to wait until all Python thread states get deleted:
962 self._started.wait()
1119 # Issue #18808: wait for the thread state to be gone.
1392 self.finished.wait(self.interval)
1418 # They are marked as daemon threads so we won't wait for them
1539 # dubious, but some code does it. We can't wait for C code to release