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.

 
  • 当计算结果依赖于两个或更多进程被调度的顺序,我们说这段代码是错的,这种情况被称为竞态条件,也叫竞态或竞争。
今日热词
目录 附录 查词历史