Static methods

@:noExprstaticdestroy(this:RwLock):Void

Cleans up a read-write lock.

@:noExprstaticinit():Result<RwLock>

Allocates and initializes a read-write lock.

@:noExprstaticrdLock(this:RwLock):Void

Takes a read-write lock for reading (shared access).

@:noExprstaticrdTryLock(this:RwLock):Result<NoData>

Tries to take a read-write lock for reading without blocking.

@:noExprstaticrdUnlock(this:RwLock):Void

Releases a read-write lock after it was taken for reading.

@:noExprstaticwrLock(this:RwLock):Void

Takes a read-write lock for writing (exclusive access).

@:noExprstaticwrTryLock(this:RwLock):Result<NoData>

Tries to take a read-write lock for writing without blocking.

@:noExprstaticwrUnlock(this:RwLock):Void

Releases a read-write lock after it was taken for writing.