For purposes of ordering, is atomic read-modify-write one operation or two?

前端 未结 0 481
轻奢々
轻奢々 2021-01-05 02:33

Consider an atomic read-modify-write operation such as x.exchange(..., std::memory_order_acq_rel). For purposes of ordering with respect to loads and stores to

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