Function lock [src]

Blocks until exclusive lock ownership is acquired.

Prototype

pub fn lock(rwl: *RwLock) void

Parameters

rwl: *RwLock

Source

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