Reset the internal flag to false. Subsequently, threads calling wait() will block until set() is called to set the internal flag to true again.
(self)
| 632 | self._cond.notify_all() |
| 633 | |
| 634 | def clear(self): |
| 635 | """Reset the internal flag to false. |
| 636 | |
| 637 | Subsequently, threads calling wait() will block until set() is called to |
| 638 | set the internal flag to true again. |
| 639 | |
| 640 | """ |
| 641 | with self._cond: |
| 642 | self._flag = False |
| 643 | |
| 644 | def wait(self, timeout=None): |
| 645 | """Block until the internal flag is true. |
no outgoing calls
no test coverage detected