method

mon_enter

rails latest stable - Class: ActiveSupport::Concurrency::ThreadMonitor

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

mon_enter()
private

No documentation available.

# File activesupport/lib/active_support/concurrency/thread_monitor.rb, line 37
        def mon_enter
          @mutex.lock if @owner != Thread.current
          @owner = Thread.current
          @count += 1
        end