atomicFence

fnvoid atomicFence(MemoryOrder order = MemoryOrder.seq)() pure nothrow @nogc @safe

Inserts a full load/store memory fence (on platforms that need it). This ensures that all loads and stores before a call to this function are executed before any loads and stores after the call.