class method
self.run_interlock
Ruby on Rails 6.0.6.1
Since v5.0.7.2Signature
self.run_interlock()
Execute the supplied block without interference from any concurrent loads.
Source
# File activesupport/lib/active_support/dependencies.rb, line 32
def self.run_interlock
Dependencies.interlock.running { yield }
end
Defined in activesupport/lib/active_support/dependencies.rb line 32
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Dependencies