method

release

rails latest stable - Class: ActiveSupport::Concurrency::Latch

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

release()
public

No documentation available.

# 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