Skip to main content

lock_holder_via_lsof

Function lock_holder_via_lsof 

Source
fn lock_holder_via_lsof(lock_path: &Path) -> Option<i32>
Expand description

The process that has lock_path open, for a lock file without a recorded PID: an agentmux-srv among the holders if there is one, else the first. The checks in reclaim_stale_srv_lock still apply to it.