lockWrite

suspend fun lockWrite()

Locking writeMutex and wait while all readSemaphore permits will be freed