Object
@return [Boolean] true if current thread has been waken up due to a
timeout, otherwise false
# File lib/concurrent/atomic/condition.rb, line 35 def timed_out? @remaining_time != nil && @remaining_time <= 0 end
@return [Boolean] true if current thread has been waken up by a signal
or a #broadcast call , otherwise false
# File lib/concurrent/atomic/condition.rb, line 29 def woken_up? @remaining_time.nil? || @remaining_time > 0 end
Generated with the Darkfish Rdoc Generator 2.