Eliminating Race Conditions