Skip to main content

try_acquire_lock

Function try_acquire_lock 

Source
pub fn try_acquire_lock(memory_dir: &Path) -> Option<PathBuf>
Expand description

Try to acquire the consolidation lock. Returns the lock path if acquired, None if another process holds it.