synchronizedByValue

inline fun <R> synchronizedByValue(value: Any, block: () -> R): R