Handling out of order execution

后端 未结 12 2019
忘掉有多难
忘掉有多难 2021-02-02 13:16

I recently stumbled upon this Wikipedia article. From my experience with multi-threading I am aware of the multitude of issues caused by the program being able to switch threads

12条回答
  •  闹比i
    闹比i (楼主)
    2021-02-02 13:23

    Most compilers nowadays have explicit ordering intrinsics. C++0x has memory ordering intrinsics as well.

提交回复
热议问题