U:RDoc::AnyMethod[iI" stop:ETI"Thread::stop;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"OStops execution of the current thread, putting it into a ``sleep'' state, ;TI"/and schedules execution of another thread.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I":a = Thread.new { print "a"; Thread.stop; print "c" } ;TI"'sleep 0.1 while a.status!='sleep' ;TI"print "b" ;TI" a.run ;TI" a.join ;TI"#=> "abc";T: @format0: @fileI" thread.c;T:0@omit_headings_from_table_of_contents_below0I"Thread.stop -> nil ;T0[I"();T@FI" Thread;TcRDoc::NormalClass00