lockWrite

suspend fun lockWrite()(source)

Locking writeMutex and wait while all readSemaphore permits will be freed