KQueue::Native#kevent not marked as blocking
robertgrimm opened this issue · comments
kevent is a blocking function and thus needs to be marked as such so FFI will release Ruby's global interpreter lock when calling it. Not having it marked as blocking will result in KQueue::Queue#run hanging the entire process.