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
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.1.2.0 vendor/bundle/ruby/2.3.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.5/lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.5 lib/rb-kqueue/watcher/process.rb