Skip to main content

LOCK_FILE_NAME

Constant LOCK_FILE_NAME 

Source
pub const LOCK_FILE_NAME: &str = "akar.lock";
Expand description

Name of the file holding the cross-process lock.

The lock file is created with an exclusive lock by the first process to open a database directory and prevents a second process from opening the same directory concurrently (P45.4). Read-only opens take a shared lock.