(self)
| 339 | self._notempty.notify() |
| 340 | |
| 341 | def task_done(self): |
| 342 | with self._cond: |
| 343 | if not self._unfinished_tasks.acquire(False): |
| 344 | raise ValueError('task_done() called too many times') |
| 345 | if self._unfinished_tasks._semlock._is_zero(): |
| 346 | self._cond.notify_all() |
| 347 | |
| 348 | def join(self): |
| 349 | with self._cond: |
nothing calls this directly
no test coverage detected