(self)
| 483 | self._value += 1 |
| 484 | |
| 485 | def dec(self) -> bool: |
| 486 | with self._cond: |
| 487 | if self._value > 0: |
| 488 | self._value -= 1 |
| 489 | if self._value == 0: |
| 490 | self._cond.notify_all() |
| 491 | |
| 492 | def wait(self): |
| 493 | with self._cond: |
no outgoing calls
no test coverage detected