method
wait
v1_9_3_392 -
Show latest stable
- Class:
MonitorMixin::ConditionVariable
wait(timeout = nil)public
Releases the lock held in the associated monitor and waits; reacquires the lock on wakeup.
If timeout is given, this method returns after timeout seconds passed, even if no other thread doesn’t signal.