Sane atomic operations for .NET based on the C++11 memory model.