Methods
D
L
P
R
S
U
Instance Public methods
done_running()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 35
def done_running
  @lock.stop_sharing
end
done_unloading()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 27
def done_unloading
  @lock.stop_exclusive(compatible: [:load, :unload])
end
loading()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 11
def loading
  @lock.exclusive(purpose: :load, compatible: [:load], after_compatible: [:load]) do
    yield
  end
end
permit_concurrent_loads()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 45
def permit_concurrent_loads
  @lock.yield_shares(compatible: [:load]) do
    yield
  end
end
running()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 39
def running
  @lock.sharing do
    yield
  end
end
start_running()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 31
def start_running
  @lock.start_sharing
end
start_unloading()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 23
def start_unloading
  @lock.start_exclusive(purpose: :unload, compatible: [:load, :unload])
end
unloading()
# File activesupport/lib/active_support/dependencies/interlock.rb, line 17
def unloading
  @lock.exclusive(purpose: :unload, compatible: [:load, :unload], after_compatible: [:load, :unload]) do
    yield
  end
end