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-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/rb-kqueue-0.2.4/lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.4 lib/rb-kqueue/watcher/process.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/rb-kqueue-0.2.3/lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.3 lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.2 lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.1 lib/rb-kqueue/watcher/process.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/process.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/rb-kqueue-0.2.0/lib/rb-kqueue/watcher/process.rb
rb-kqueue-0.2.0 lib/rb-kqueue/watcher/process.rb