Flowdock
method

new

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: TimeoutHandler
new() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/webrick/utils.rb, line 173
      def initialize
        @timeout_info = Hash.new
        Thread.start{
          while true
            now = Time.now
            @timeout_info.each{|thread, ary|
              ary.dup.each{|info|
                time, exception = *info
                interrupt(thread, info.object_id, exception) if time < now
              }
            }
            sleep 0.5
          end
        }
      end
Register or log in to add new notes.