End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Fiber::SchedulerInterface#process_wait
process_wait(pid, flags)
cont.c
View on GitHub ↗
static VALUE
rb_fiber_scheduler_interface_process_wait(VALUE self)
{
}
Invoked by Process::Status.wait in order to wait for a specified process. See that method description for arguments description.
Suggested minimal implementation:
Example
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.