<<<<<<< HEAD ======= >>>>>>> 0a75ee1214dbcf88620b703810fab9e09d8c89fb

write

abstract fun <T> write(action: () -> T): T

Executes the given action under a write lock.