practise multi threads synchoronization in ace