Method: ActiveSupport::Concurrency::LoadInterlockAwareMonitorMixin#mon_enter

Defined in:
activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb

#mon_enterObject

Enters an exclusive section, but allows dependency loading while blocked



13
14
15
16
# File 'activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb', line 13

def mon_enter
  mon_try_enter ||
    ActiveSupport::Dependencies.interlock.permit_concurrent_loads { super }
end