.NET:CLR via C# Primitive Thread Synchronization Constructs
摘要:
User-Mode ConstructsThe CLR guarantees that reads and writes to variables of the following data types are atomic: Boolean, Char, (S)Byte, (U)Int16, (U)Int32, (U)IntPtr, Single, and reference types. This means that all bytes within that variable are read from or written to all at once.Although atomic 阅读全文
posted @ 2013-11-12 08:42 幸福框架 阅读(1092) 评论(0) 推荐(0) 编辑