Implement Volatile.Read/Write<T> and Interlocked.MemoryBarrier ().