Do critical sections block read access (by another thread) to variables modified within the critical section?

前端 未结 0 1157
慢半拍i
慢半拍i 2020-12-30 10:41

If I modify a variable within a critical section in one thread, will the critical section block another thread from reading that variable while the critical section code is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题