method

sleep

v1_9_2_180 - Show latest stable - Class: Mutex
sleep(p1 = v1)
public

Releases the lock and sleeps timeout seconds if it is given and non-nil or forever. Raises ThreadError if mutex wasn’t locked by the current thread.