public synchornized void mySyncedMethod(int myVar){
unsynchedMethod(int myvar);
}
private void unsynchedMethod(int myVar){
...
do lots of processing
...
incrementStateVar += myVar;
}
thread A starts, then thread B starts. If thread B processing takes less time than A, could B complete (and increment state var) before A.