C#读写内置类型的数据时是否原子操作

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.

posted on 2017-06-12 22:26  lakeone  阅读(1432)  评论(0编辑  收藏  举报

导航