mat813 / rb-kqueue

An FFI wrapper for kqueue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.