Represents timeout period.
Creates new Period.
# File lib/httpclient/timeout.rb, line 33
33: def initialize(thread, time, ex)
34: @thread, @time, @ex = thread, time, ex
35: @lock = Mutex.new
36: end
Cancel this Period. Mutex is needed to avoid too-late exception.
# File lib/httpclient/timeout.rb, line 48
48: def cancel
49: @lock.synchronize do
50: @thread = nil
51: end
52: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.