Process

Public Class Methods

running?(pid) click to toggle source

Returns true the process identied by pid is running.

    # File lib/thin/daemonizing.rb, line 6
 6:   def running?(pid)
 7:     Process.getpgid(pid) != 1
 8:   rescue Errno::ESRCH
 9:     false
10:   end

Private Instance Methods

running?(pid) click to toggle source

Returns true the process identied by pid is running.

    # File lib/thin/daemonizing.rb, line 6
 6:   def running?(pid)
 7:     Process.getpgid(pid) != 1
 8:   rescue Errno::ESRCH
 9:     false
10:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.