memory_order_relaxed and visibility

前端 未结 0 1722
感情败类
感情败类 2021-02-05 05:42

Consider two threads, T1 and T2, that store and load an atomic integer a_i respectively and that the load happens after the store:

T1                                      


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