How is memory barrier implemented in the mutex

后端 未结 0 563
时光说笑
时光说笑 2021-02-20 11:36

I\'m studying how a mutex is implemented. As far as I know, there are two key points:

  1. atomic operation on a data (an integer);
  2. memory barrier.
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题