Class: ActiveRecord::ConnectionAdapters::FiberedMonitor

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/fiber_patches.rb

Defined Under Namespace

Classes: Queue

Instance Method Summary collapse

Instance Method Details

#new_condObject



42
43
44
# File 'lib/active_record/fiber_patches.rb', line 42

def new_cond
  Queue.new
end

#synchronizeObject



38
39
40
# File 'lib/active_record/fiber_patches.rb', line 38

def synchronize
  yield
end