digital-fabric / polyphony

Fine-grained concurrency for Ruby
https://www.rubydoc.info/gems/polyphony
MIT License
655 stars 17 forks source link

Signal trap not working correctly #71

Closed noteflakes closed 2 years ago

noteflakes commented 2 years ago

After a trapped signal is handled, the backend does a poll that is repeatedly interrupted. This happens for both the io_uring and libev backends.

noteflakes commented 2 years ago

After the signal is trapped, everything looks correct. From that moment on, io_uring_wait_cqe keeps returning -EINTR.