Edit

Share via


Volatile.ReadBarrier Method

Definition

Synchronizes memory access as follows:

The processor that executes the current thread cannot reorder instructions in such a way that memory reads before the call to ReadBarrier() execute after memory accesses that follow the call to ReadBarrier().

public:
 static void ReadBarrier();
public static void ReadBarrier();
static member ReadBarrier : unit -> unit
Public Shared Sub ReadBarrier ()

Applies to