Skip to main content

barkd_pid

Function barkd_pid 

Source
pub fn barkd_pid(datadir: &Path) -> Result<Option<u32>>
Expand description

The pid of the barkd holding the datadir lock, or None when no barkd is running there. The flock, not the file’s existence, is the liveness signal: the OS releases it the instant the holder dies.