Module KQueue
In: lib/rb-kqueue/native/flags.rb
lib/rb-kqueue/watcher.rb
lib/rb-kqueue/event.rb
lib/rb-kqueue/watcher/file.rb
lib/rb-kqueue/watcher/signal.rb
lib/rb-kqueue/watcher/read_write.rb
lib/rb-kqueue/watcher/timer.rb
lib/rb-kqueue/watcher/socket_read_write.rb
lib/rb-kqueue/watcher/process.rb
lib/rb-kqueue/queue.rb
lib/rb-kqueue/native.rb
lib/rb-kqueue.rb

The root module of the library, which is laid out as so:

  • {Queue} — The main class, where events are registered
  • {Watcher} — A watcher for a single sort of event
  • {Event} — A notification that an event has occurred

Methods

Classes and Modules

Module KQueue::Native
Class KQueue::Event
Class KQueue::Queue
Class KQueue::Watcher

Constants

VERSION = [0, 2, 0]

Public Class methods

Raise an exception for a native kqueue error.

@param errno [Fixnum] The errno identifying the sort of error.

  This is usually C's `errno` variable,
  but is sometimes set in a kevent struct

@raise [SystemCallError] @private

[Validate]