Skip to main content

wait_acquire

Function wait_acquire 

Source
pub async fn wait_acquire(
    map: &AgentLockMap,
    dir: &Path,
    key: &str,
) -> Result<AgentLock>
Expand description

Acquire an agent lock, BLOCKING at both layers: the in-process Mutex first, then the cross-process lockfile.