instance method mon_enter

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v7.0.10

Available in: v5.2.8.1 v6.0.6 v6.1.7.10 v7.0.10

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close