kotlin.concurrent.java.util.concurrent.locks.ReentrantReadWriteLock.write

write

inline fun <T> ReentrantReadWriteLock.write(
    action: () -> T
): T

Platform and version requirements: JVM

Executes the given action under the write lock of this lock. The method does upgrade from read to wr