synchronized

fun <T> synchronized(g: iGate, block: () -> T): T