Module SystemTimer
In: lib/system_timer.rb
lib/system_timer/concurrent_timer_pool.rb
lib/system_timer/thread_timer.rb
lib/system_timer_stub.rb

Copyright 2008 David Vollbracht & Philippe Hanrigou

Methods

Classes and Modules

Class SystemTimer::ConcurrentTimerPool
Class SystemTimer::ThreadTimer

External Aliases

timeout_after -> timeout
  Backward compatibility with timeout.rb
timeout_after -> timeout
  Backward compatibility with timeout.rb

Attributes

timer_pool  [R] 

Public Class methods

Executes the method‘s block. If the block execution terminates before seconds seconds has passed, it returns true. If not, it terminates the execution and raises a +Timeout::Error+.

Protected Class methods

[Validate]