Class: ActiveSupport::Concurrency::ThreadLoadInterlockAwareMonitor

Inherits:
Object
  • Object
show all
Defined in:
activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeThreadLoadInterlockAwareMonitor

Returns a new instance of ThreadLoadInterlockAwareMonitor.



39
40
41
42
43
# File 'activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb', line 39

def initialize
  @owner = nil
  @count = 0
  @mutex = Mutex.new
end