MCPcopy Index your code
hub / github.com/python/cpython / notify_all

Method notify_all

Lib/threading.py:431–438  ·  view source on GitHub ↗

Wake up all threads waiting on this condition. If the calling thread has not acquired the lock when this method is called, a RuntimeError is raised.

(self)

Source from the content-addressed store, hash-verified

429 pass
430
431 def notify_all(self):
432 """Wake up all threads waiting on this condition.
433
434 If the calling thread has not acquired the lock when this method
435 is called, a RuntimeError is raised.
436
437 """
438 self.notify(len(self._waiters))
439
440 def notifyAll(self):
441 """Wake up all threads waiting on this condition.

Callers 8

notifyAllMethod · 0.95
setMethod · 0.45
_releaseMethod · 0.45
_exitMethod · 0.45
resetMethod · 0.45
_breakMethod · 0.45
task_doneMethod · 0.45
shutdownMethod · 0.45

Calls 1

notifyMethod · 0.95

Tested by

no test coverage detected