method
mon_enter
v7.1.3.4 -
Show latest stable
- Class:
ActiveSupport::Concurrency::ThreadLoadInterlockAwareMonitor
mon_enter()private
No documentation available.
# File activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb, line 54
def mon_enter
@mutex.lock if @owner != Thread.current
@owner = Thread.current
@count += 1
end