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