pub fn try_lock_shared(f: &File) -> Result<bool>Expand description
Shared counterpart of try_lock_exclusive: Ok(false) when an exclusive
holder is alive. Read-only handles suffice on every supported platform.
Used by the page-WAL reader admission (ownership probe, admission gate).