Function tryLockShared [src]

Attempts to obtain shared lock ownership. Returns true if the lock is obtained, false otherwise.

Prototype

pub fn tryLockShared(rwl: *RwLock) bool

Parameters

rwl: *RwLock

Source

pub fn tryLockShared(rwl: *RwLock) bool { return rwl.impl.tryLockShared(); }