method
lock_file
v4.2.9 -
Show latest stable
- Class:
ActiveSupport::Cache::FileStore
lock_file(file_name, &block)private
Lock a file for a block so only one process can modify it at a time.
lock_file(file_name, &block)Lock a file for a block so only one process can modify it at a time.