D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Thread
/
Filename :
wakeup-i.ri
back
Copy
U:RDoc::AnyMethod[iI"wakeup:ETI"Thread#wakeup;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"KMarks a given thread as eligible for scheduling, however it may still ;TI"remain blocked on I/O.;To:RDoc::Markup::BlankLine o; ; [I"O*Note:* This does not invoke the scheduler, see #run for more information.;T@o:RDoc::Markup::Verbatim; [ I"1c = Thread.new { Thread.stop; puts "hey!" } ;TI"'sleep 0.1 while c.status!='sleep' ;TI"c.wakeup ;TI"c.join ;TI"#=> "hey!";T:@format0: @fileI" thread.c;T:0@omit_headings_from_table_of_contents_below0I"thr.wakeup -> thr ;T0[ I"();T@FI"Thread;TcRDoc::NormalClass00