ReadWriteLock

A non-reentrant suspending implementation of a Read-Write lock.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun readLock()
Link copied to clipboard
suspend fun readUnlock()
Link copied to clipboard
suspend fun <R> withReadLock(block: suspend () -> R): R
Link copied to clipboard
suspend fun <R> withWriteLock(block: suspend () -> R): R
Link copied to clipboard
suspend fun writeLock()
Link copied to clipboard