MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / notifyAll

Method notifyAll

tools/python-3.11.9-amd64/Lib/threading.py:405–414  ·  view source on GitHub ↗

Wake up all threads waiting on this condition. This method is deprecated, use notify_all() instead.

(self)

Source from the content-addressed store, hash-verified

403 self.notify(len(self._waiters))
404
405 def notifyAll(self):
406 """Wake up all threads waiting on this condition.
407
408 This method is deprecated, use notify_all() instead.
409
410 """
411 import warnings
412 warnings.warn('notifyAll() is deprecated, use notify_all() instead',
413 DeprecationWarning, stacklevel=2)
414 self.notify_all()
415
416
417class Semaphore:

Callers

nothing calls this directly

Calls 2

notify_allMethod · 0.95
warnMethod · 0.45

Tested by

no test coverage detected