Volatile.WriteBarrier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Synchronizes memory access as follows:
The processor that executes the current thread cannot reorder instructions in such a way that memory writes after the call to WriteBarrier() execute before memory accesses that precede the call to WriteBarrier().
public:
static void WriteBarrier();
public static void WriteBarrier();
static member WriteBarrier : unit -> unit
Public Shared Sub WriteBarrier ()