Sha256: 9a29a9976ab85e6a54c6276318743c379a6b8b706229a9fae71d5ee5f57b9c46
Contents?: true
Size: 332 Bytes
Versions: 73
Compression:
Stored size: 332 Bytes
Contents
require 'kqueue_handler_ext' module God class KQueueHandler EVENT_SYSTEM = "kqueue" def self.register_process(pid, events) monitor_process(pid, events_mask(events)) end def self.events_mask(events) events.inject(0) do |mask, event| mask |= event_mask(event) end end end end
Version data entries
73 entries across 73 versions & 21 rubygems