Wake up all threads waiting on this condition. This method is deprecated, use notify_all() instead.
(self)
| 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 | |
| 459 | class Semaphore: |