Class: ActiveSupport::Concurrency::LoadInterlockAwareMonitor
- Defined in:
- lib/active_support/concurrency/load_interlock_aware_monitor.rb
Overview
A monitor that will permit dependency loading while blocked waiting for the lock.
Instance Method Summary collapse
-
#mon_enter ⇒ Object
Enters an exclusive section, but allows dependency loading while blocked.
Instance Method Details
#mon_enter ⇒ Object
Enters an exclusive section, but allows dependency loading while blocked
11 12 13 14 |
# File 'lib/active_support/concurrency/load_interlock_aware_monitor.rb', line 11 def mon_enter mon_try_enter || ActiveSupport::Dependencies.interlock.permit_concurrent_loads { super } end |