Add WorkerPool for non-blocking execution of blocking operations in fiber scheduler
Add WorkerPool for non-blocking execution of blocking operations in fiber scheduler: a task in LegoFlow-SWE (Harbor dataset). When Ruby’s fiber scheduler invokes the blocking operation wait hook, there is currently no built‑in mechanism to offload the work to a thread pool. This causes the event…
The task
When Ruby’s fiber scheduler invokes the `blocking_operation_wait` hook, there is currently no built‑in mechanism to offload the work to a thread pool. This causes the event loop to block, defeating the purpose of the hook. We need a `IO::Event::WorkerPool` class (defined in the C extension as `IO_Event_WorkerPool`…
Part of Lego-X/LegoFlow-SWE.