Sha256: 20a551f5019da7924e117173b62c5e4c1d977b457b2ce75f9dc51a570793425a
Contents?: true
Size: 166 Bytes
Versions: 2
Compression:
Stored size: 166 Bytes
Contents
module Asynchronous::Utils def alive?(pid) ::Process.kill(0, pid) return true rescue ::Errno::ESRCH return false end module_function :alive? end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
asynchronous-4.0.1 | lib/asynchronous/utils.rb |
asynchronous-4.0.0 | lib/asynchronous/utils.rb |