Method: Fiber::SchedulerInterface#process_wait
- Defined in:
- cont.c
#process_wait(pid, flags) ⇒ Object
Invoked by Process::Status.wait in order to wait for a specified process. See that method description for arguments description.
Suggested minimal implementation:
Thread.new do
Process::Status.wait(pid, flags)
end.value
This hook is optional: if it is not present in the current scheduler, Process::Status.wait will behave as a blocking method.
Expected to returns a Process::Status instance.
2936 2937 2938 2939 |
# File 'cont.c', line 2936 static VALUE rb_fiber_scheduler_interface_process_wait(VALUE self) { } |