MCPcopy Index your code
hub / github.com/RustPython/RustPython / notify_all

Method notify_all

Lib/threading.py:438–445  ·  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

436 pass
437
438 def notify_all(self):
439 """Wake up all threads waiting on this condition.
440
441 If the calling thread has not acquired the lock when this method
442 is called, a RuntimeError is raised.
443
444 """
445 self.notify(len(self._waiters))
446
447 def notifyAll(self):
448 """Wake up all threads waiting on this condition.

Callers 12

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
after_fork_childFunction · 0.45
set_done_internalMethod · 0.45
start_joinable_threadFunction · 0.45

Calls 2

notifyMethod · 0.95
lenFunction · 0.85

Tested by

no test coverage detected