mat813 / rb-kqueue

An FFI wrapper for kqueue
MIT License
22 stars 12 forks source link

KQueue::Native#kevent not marked as blocking #5

Closed robertgrimm closed 10 years ago

robertgrimm commented 10 years ago

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.