Usage of volatile specifier in C/C++/Java

后端 未结 8 1589
旧时难觅i
旧时难觅i 2021-01-03 01:35

While going through many resources on multithreaded programming, reference to volatile specifier usually comes up. It is clear that usage of this keyword is not a reliable w

8条回答
  •  清歌不尽
    2021-01-03 02:35

    I found this DDJ article by Herb Sutter very interesting, especially how volatile is treated in C++, Java and C# .NET.

    Dr.Dobbs volatile vs. volatile

提交回复
热议问题