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