withReadLock

inline suspend fun <T> ReadWriteMutex.withReadLock(action: () -> T): T

Shortcut for ReadWriteMutex.readMutex's Mutex.holdsLock.