Function lockShared [src]

Obtains shared lock ownership. Blocks if another thread has exclusive ownership. May block if another thread is attempting to get exclusive ownership.

Prototype

pub fn lockShared(rwl: *RwLock) void

Parameters

rwl: *RwLock

Source

pub fn lockShared(rwl: *RwLock) void { return rwl.impl.lockShared(); }