--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: timer_pool
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: debug
- !ruby/object:RI::MethodSummary 
  name: timeout_after
- !ruby/object:RI::MethodSummary 
  name: timeout_after
comment: 
- !ruby/struct:SM::Flow::P 
  body: Timer based on underlying <tt>ITIMER_REAL</tt> system timer. It is a solution to Ruby processes which hang beyond the time limit when accessing external resources. This is useful when timeout.rb, which relies on green threads, does not work consistently.
- !ruby/struct:SM::Flow::P 
  body: "For more information and background check out:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: http://ph7spot.com/articles/system_timer
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: http://davidvollbracht.com/2008/6/2/30-days-of-teach-day-1-systemtimer
  type: :BULLET
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Usage
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'systemtimer'\n\n  SystemTimer.timeout_after(5) do\n\n    # Something that should be interrupted if it takes too much time...\n    # ... even if blocked on a system call!\n\n  end\n"
constants: []

full_name: SystemTimer
includes: []

instance_methods: []

name: SystemTimer
superclass: 
