wait(mutex, timeout=nil)
Instance Public methods
Releases the lock held in mutex
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.
Please login to continue.