method
interrupt
v1_9_1_378 -
Show latest stable
- Class:
WEBrick::Utils::TimeoutHandler
interrupt(thread, id, exception)public
No documentation available.
# 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