Wake up all threads waiting on this condition. This method is deprecated, use notify_all() instead.
(self)
| 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 | |
| 417 | class Semaphore: |
nothing calls this directly
no test coverage detected