Over the Fence.... And Far Away....

No, I'm not talking about horses this time.... Lets talk engineering, what is a fence? A memory fence or barrier is used to order reads and writes around certain operations called Atomics. This ordering ensures that both communication of the value from the register in the processor is correct between all the cores/threads running and the cache within the chip as a minimum, and may even leave to a…