class WEBrick::Utils::TimeoutHandler

def interrupt(thread, id, exception)

Interrupts the timeout handler +id+ and raises +exception+
#
def interrupt(thread, id, exception)
  if cancel(thread, id) && thread.alive?
    thread.raise(exception, "execution timeout")
  end
end