withLock

fun <R> withLock(block: () -> R): R(source)