RaceCondition Resolution :Synchronization