janvladimirmostert
10/05/2017, 5:13 AMsynchronized - the lock parameter, is that just any variable, String, Int in which case two threads call synchronized (myvar) { } at the same time with the same var, only one of the two will execute?
inline fun <R> synchronized(lock: Any, block: () -> R): R