instance method release

Ruby on Rails 4.0.13

Since v4.0.13 Last seen in v4.2.9

Available in: v4.0.13 v4.1.16 v4.2.9

Signature

release()

No documentation comment.

Source
# File activesupport/lib/active_support/concurrency/latch.rb, line 13
      def release
        @lock.synchronize do
          @count -= 1 if @count > 0
          @cv.broadcast if @count.zero?
        end
      end

Defined in activesupport/lib/active_support/concurrency/latch.rb line 13 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Concurrency::Latch

Type at least 2 characters to search.

↑↓ navigate · open · esc close