helpercode.com
Why Atomic operations are not always thread safe
A question I saw on StackOverflow: Is accessing a bool field atomic in C#? In particular, do I need to put a lock around:class Foo{private bool _bar;//… in some function on any thread (or man…