U:RDoc::AnyMethod[iI" sleep:ETI"Thread::Mutex#sleep;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"GReleases the lock and sleeps +timeout+ seconds if it is given and ;TI"Knon-nil or forever. Raises +ThreadError+ if +mutex+ wasn't locked by ;TI"the current thread.;To:RDoc::Markup::BlankLineo; ; [I"DWhen the thread is next woken up, it will attempt to reacquire ;TI"the lock.;T@o; ; [I"KNote that this method can wakeup without explicit Thread#wakeup call. ;TI"-For example, receiving signal and so on.;T: @fileI"thread_sync.c;T:0@omit_headings_from_table_of_contents_below0I"-mutex.sleep(timeout = nil) -> number ;T0[I"(p1 = v1);T@FI" Mutex;TcRDoc::NormalClass00