Skip to main content

acquire_session_lock

Function acquire_session_lock 

Source
pub fn acquire_session_lock(session_dir: &Path) -> Result<File>
Expand description

Acquire an exclusive file lock on the session directory.

Prevents concurrent access from other processes. Returns an error if the session is already in use.