Function yaque::recovery::unlock_for_sending[][src]

pub fn unlock_for_sending<P: AsRef<Path>>(base: P) -> Result<()>

Unlocks a queue in a given directory for sending. This function returns an error of kind io::ErrorKind::Other when the process listed in the lockfile still exists.

Panics

This function panics if it cannot parse the lockfile.