ID EN
Threading

wait

Python 3.11

Wait until notified or until a timeout occurs. If the calling thread has not acquired the lock when this method is called, a RuntimeError is raised.

Syntax

PYTHON
wait(timeout=None)

See Also

RuntimeError notify() notify_all() RLock release() RLock