D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Fiber
/
Filename :
kill-i.ri
back
Copy
U:RDoc::AnyMethod[iI" kill:ETI"Fiber#kill;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"?Terminates the fiber by raising an uncatchable exception. ;TI"OIt only terminates the given fiber and no other fiber, returning +nil+ to ;TI"Banother fiber if that fiber was calling #resume or #transfer.;To:RDoc::Markup::BlankLine o; ; [I"R<tt>Fiber#kill</tt> only interrupts another fiber when it is in Fiber.yield. ;TI"gIf called on the current fiber then it raises that exception at the <tt>Fiber#kill</tt> call site.;T@o; ; [I"TIf the fiber has not been started, transition directly to the terminated state.;T@o; ; [I"6If the fiber is already terminated, does nothing.;T@o; ; [I"HRaises FiberError if called on a fiber belonging to another thread.;T: @fileI"cont.c;T:0@omit_headings_from_table_of_contents_below0I"fiber.kill -> nil ;T0[ I"();T@FI" Fiber;TcRDoc::NormalClass00