instance method
mon_enter
Ruby on Rails 6.1.7.10
Since v5.2.8.1 Last seen in v7.0.10Signature
mon_enter()
Enters an exclusive section, but allows dependency loading while blocked
Source
# File activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb, line 15
def mon_enter
mon_try_enter ||
ActiveSupport::Dependencies.interlock.permit_concurrent_loads { super }
end
Defined in activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb line 15
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Concurrency::LoadInterlockAwareMonitor