Module: KillProcess
- Defined in:
- lib/kill_process.rb,
lib/kill_process/version.rb
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
Class Method Details
.after(seconds) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/kill_process.rb', line 6 def self.after(seconds) success = posix_timer_set(seconds) if !success Kernel.warn "WARNING: KillProcess#after will not do anything because your system does not support POSIX advanced realtime timers" end end |