method

new

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Queue
new(lock = Monitor.new) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 96
        def initialize(lock = Monitor.new)
          @lock = lock
          @cond = @lock.new_cond
          @num_waiting = 0
          @queue = []
        end
Register or log in to add new notes.