Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specification


12 Variables
12.5 Atomicity of variable references
Paragraph 11 Reads and writes of the following data types shall be atomic: bool, char, byte, sbyte, short, ushort, uint, int, float, and reference types. 2 In addition, reads and writes of enum types with an underlying type in the previous list shall also be atomic. 3 Reads and writes of other types, including long, ulong, double, and decimal, as well as user-defined types, need not be atomic. 4 Aside from the library functions designed for that purpose, there is no guarantee of atomic read-modify-write, such as in the case of increment or decrement.
|
Jagger Software Ltd |
Company # 4070126 |
VAT # 762 5213 42 |

