File: //usr/share/ri/3.0.0/system/Fiber/SchedulerInterface/io_wait-i.ri
U:RDoc::AnyMethod[iI"io_wait:ETI"&Fiber::SchedulerInterface#io_wait;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OInvoked by IO#wait, IO#wait_readable, IO#wait_writable to ask whether the ;TI"?specified descriptor is ready for specified events within ;TI"the specified +timeout+.;To:RDoc::Markup::BlankLine o;
; [I"Q+events+ is a bit mask of <tt>IO::READABLE</tt>, <tt>IO::WRITABLE</tt>, and ;TI"<tt>IO::PRIORITY</tt>.;T@o;
; [ I"OSuggested implementation should register which Fiber is waiting for which ;TI"Lresources and immediately calling Fiber.yield to pass control to other ;TI"Nfibers. Then, in the #close method, the scheduler might dispatch all the ;TI",I/O resources to fibers waiting for it.;T@o;
; [I"HExpected to return the subset of events that are ready immediately.;T:
@fileI"cont.c;T:0@omit_headings_from_table_of_contents_below0I""io_wait(io, events, timeout)
;T0[ I"();T@FI"SchedulerInterface;TcRDoc::NormalClass00