When the outcome of some computation depends on how two or more processes are scheduled, the code is incorrect. We say that there is a race condition.
当计算结果依赖于两个或更多进程被调度的顺序,我们说这段代码是错的,这种情况被称为竞态条件,也叫竞态或竞争。
When the outcome of some computation depends on how two or more processes are scheduled, the code is incorrect. We say that there is a race condition.
当计算结果依赖于两个或更多进程被调度的顺序,我们说这段代码是错的,这种情况被称为竞态条件,也叫竞态或竞争。
应用推荐