C#读写数据是否为原子操作

来源:互联网 发布:李玟的地位知乎 编辑:程序博客网 时间:2024/05/22 19:27

Reads and writes of the following data types are atomic:bool, char, byte, sbyte, short, ushort, uint, int, float, and reference types.

Reads and writes of doubles isn't atomic.