Skip to main content

try_lock_shared

Function try_lock_shared 

Source
pub fn try_lock_shared(f: &File) -> Result<bool>
Expand description

Shared counterpart of try_lock_exclusive: Ok(false) when an exclusive holder exists.