Atomic unlocked access to 64bit blocks of Memory Mapped Files in .NET
问题 We need to share very efficiently block of constantly changing information between two processes. Information fits in 64bits block of memory - so inside one process we'd be able to use Interlocked operations (or probably even just ordinary reads/writes) to ensure lock-free access to correct state of information (not just partially written). How can we write and ready block of 64bit data into MMF without locking and synchronization in order to make sure that we don't read partially written