Edit

Share via


Volatile.WriteBarrier Method

Definition

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 ()

Applies to