lock

common
inline fun <R> lock(any: Any, action: () -> R): R