method

interrupt

Importance_0
v1_9_1_378 - Show latest stable - 0 notes - Class: TimeoutHandler
interrupt(thread, id, exception) 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 137
      def interrupt(thread, id, exception)
        TimeoutMutex.synchronize{
          if cancel(thread, id) && thread.alive?
            thread.raise(exception, "execution timeout")
          end
        }
      end
Register or log in to add new notes.