5.1.2 Race Condition (1/1) Race condition(竞争条件) A race condition occurs when multiple processes or threads read and write data Items The final result depends on the order of execution The loser of the race is the process that updates last and will determine the final value of the variable 1515 5.1.2 Race Condition(1/1) • Race Condition(竞争条件) • A race condition occurs when multiple processes or threads read and write data items • The final result depends on the order of execution • The “loser”of the race is the process that updates last and will determine the final value of the variable