Data Race、Race Condition 与线程安全 | C++

本章覆盖:race condition;data race;undefined behavior;shared mutable state;thread safety;reentrancy;immutable data;thread confinement;synchronization;“结果偶尔错”只是并发 bug 的一种表现。

本章知识点

  • race condition
  • data race
  • undefined behavior
  • shared mutable state
  • thread safety
  • reentrancy
  • immutable data
  • thread confinement
  • synchronization
  • “结果偶尔错”只是并发 bug 的一种表现