Flowdock
method

new

Importance_0
v4.0.2 - 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 75
        def initialize(lock = Monitor.new)
          @lock = lock
          @cond = @lock.new_cond
          @num_waiting = 0
          @queue = []
        end
Register or log in to add new notes.