Class: ActiveRecord::ConnectionAdapters::FiberedMonitor

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

Defined Under Namespace

Classes: LogSubscriber, Queue

Instance Method Summary collapse

Instance Method Details

#new_condObject



46
47
48
# File 'lib/active_record/fiber_patches.rb', line 46

def new_cond
  Queue.new
end

#synchronizeObject



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

def synchronize
  yield
end