[math-fun] Synchronizing 2 communicating processes