pub async fn kill_lock_owners(
locks_dir: PathBuf,
key: &str,
) -> Result<usize, Error>Expand description
Read the owner PIDs of (locks_dir, key) and kill each. Returns
the count actually terminated. A lockfile with no live owner
yields zero — idempotent.