lock

inline fun <R> lock(obj: Any, acton: () -> R): R