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

Method notifyAll

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

445 self.notify(len(self._waiters))
446
447 def notifyAll(self):
448 """Wake up all threads waiting on this condition.
449
450 This method is deprecated, use notify_all() instead.
451
452 """
453 import warnings
454 warnings.warn('notifyAll() is deprecated, use notify_all() instead',
455 DeprecationWarning, stacklevel=2)
456 self.notify_all()
457
458
459class Semaphore:

Callers 1

Calls 2

notify_allMethod · 0.95
warnMethod · 0.45

Tested by 1