Class: KQueue::Watcher::Process

Inherits:
KQueue::Watcher show all
Defined in:
lib/rb-kqueue/watcher/process.rb

Overview

The KQueue::Watcher subclass for process events. Process events are watched via Queue#watch_process.

Instance Attribute Summary collapse

Attributes inherited from KQueue::Watcher

#queue

Method Summary

Methods inherited from KQueue::Watcher

#add!, #delete!, #disable!, #enable!

Instance Attribute Details

#pidFixnum (readonly)

The process id of the process being watched.

Returns:

  • (Fixnum)

9
10
11
# File 'lib/rb-kqueue/watcher/process.rb', line 9

def pid
  @pid
end