class KQueue::Watcher::Process
The {Watcher} subclass for process events. Process events are watched via {Queue#watch_process}.
Attributes
pid[R]
The process id of the process being watched.
@return [Fixnum]
Public Class Methods
new(queue, pid, flags, callback)
click to toggle source
Creates a new process Watcher.
@private
Calls superclass method
KQueue::Watcher.new
# File lib/rb-kqueue/watcher/process.rb, line 14 def initialize(queue, pid, flags, callback) @pid = pid super(queue, pid, :proc, flags, nil, callback) end