Synchronization::LockableObject
@!macro count_down_latch @!visibility private @!macro internal_implementation_note
@!macro count_down_latch_method_initialize
# File lib/concurrent/atomic/mutex_count_down_latch.rb, line 11 def initialize(count = 1) unless count.is_a?(Fixnum) && count >= 0 raise ArgumentError.new('count must be in integer greater than or equal zero') end super() synchronize { ns_initialize count } end
@!macro count_down_latch_method_count
# File lib/concurrent/atomic/mutex_count_down_latch.rb, line 33 def count synchronize { @count } end
Generated with the Darkfish Rdoc Generator 2.