Skip to content

Commit

Permalink
Merge pull request #6 from robertgrimm/master
Browse files Browse the repository at this point in the history
Mark KQueue::Native#kevent as blocking with FFI
  • Loading branch information
mat813 committed Feb 19, 2014
2 parents 12a49c2 + b0df3c6 commit 82284eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rb-kqueue/native.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class TimeSpec < FFI::Struct
ffi_lib FFI::Library::LIBC

attach_function :kqueue, [], :int
attach_function :kevent, [:int, :pointer, :int, :pointer, :int, :pointer], :int
attach_function :kevent, [:int, :pointer, :int, :pointer, :int, :pointer], :int, :blocking => true

attach_function :open, [:string, :int], :int
attach_function :close, [:int], :int
Expand Down

0 comments on commit 82284eb

Please sign in to comment.