svoid syncIncIntVar(Var v) { if (v != null) synchronized(v) { v.set(v!+1); } }