¡@

Home 

c# Programming Glossary: dcopy

Why doesn't this code demonstrate the non-atomicity of reads/writes?

http://stackoverflow.com/questions/3679209/why-doesnt-this-code-demonstrate-the-non-atomicity-of-reads-writes

private static void KeepReading while true double dCopy _d In release if ... throw ... Debug.Assert dCopy 0D dCopy double.MaxValue.. double dCopy _d In release if ... throw ... Debug.Assert dCopy 0D dCopy double.MaxValue Never fails private static void KeepMutating.. dCopy _d In release if ... throw ... Debug.Assert dCopy 0D dCopy double.MaxValue Never fails private static void KeepMutating..