关于并发安全有个很奇怪的现象

zhengkeyu · · 813 次点击
更多评论
[竞态监测器](https://blog.golang.org/race-detector) 中有这么一段话: > Because of its design, the race detector can detect race conditions only when they are actually triggered by running code, which means it's important to run race-enabled binaries under realistic workloads. 应该是说只有代码实际触发竞争条件才能检测到吧。
#2