writeLock

suspend fun writeLock()(source)

Acquires a write lock. Suspends if any read or write locks are currently held.