Sha256: 3f8185c438ecb86512496fc218ec3c574d170d8885767f81dd3c0f628abf384e

Contents?: true

Size: 493 Bytes

Versions: 64

Compression:

Stored size: 493 Bytes

Contents

module KQueue
  class Watcher
    # The {Watcher} subclass for process events.
    # Process events are watched via {Queue#watch_process}.
    class Process < Watcher
      # The process id of the process being watched.
      #
      # @return [Fixnum]
      attr_reader :pid

      # Creates a new process Watcher.
      #
      # @private
      def initialize(queue, pid, flags, callback)
        @pid = pid
        super(queue, pid, :proc, flags, nil, callback)
      end
    end
  end
end

Version data entries

64 entries across 56 versions & 8 rubygems

Version Path
rb-kqueue-0.2.8 lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/rb-kqueue-0.2.7/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.18.0 vendor/bundle/ruby/3.0.0/gems/rb-kqueue-0.2.7/lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.7 lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/rb-kqueue-0.2.6/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.6 lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.14.0 vendor/bundle/ruby/2.7.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb