On this page
class ActiveSupport::Concurrency::LoadInterlockAwareMonitor
A monitor that will permit dependency loading while blocked waiting for the lock.
Public Instance Methods
# File activesupport/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
Enters an exclusive section, but allows dependency loading while blocked
Calls superclass method
© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.