method
new
v4.2.9 -
Show latest stable
- Class:
ActiveSupport::Concurrency::Latch
new(count = 1)public
No documentation available.
# File activesupport/lib/active_support/concurrency/latch.rb, line 7
def initialize(count = 1)
@count = count
@lock = Monitor.new
@cv = @lock.new_cond
end