tryWriteLock

fun ReadWriteMutex.tryWriteLock(owner: Any? = null): Boolean

Shortcut for ReadWriteMutex.writeMutex's Mutex.tryLock.