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

Method notifyAll

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

438 self.notify(len(self._waiters))
439
440 def notifyAll(self):
441 """Wake up all threads waiting on this condition.
442
443 This method is deprecated, use notify_all() instead.
444
445 """
446 import warnings
447 warnings.warn('notifyAll() is deprecated, use notify_all() instead',
448 DeprecationWarning, stacklevel=2)
449 self.notify_all()
450
451
452class Semaphore:

Callers 1

Calls 2

notify_allMethod · 0.95
warnMethod · 0.45

Tested by 1