System.MemoryBarrier

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MemoryBarrier;

C++

extern PACKAGE void __fastcall MemoryBarrier(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System System

Description

Enforces an ordering constraint on memory operations.

MemoryBarrier causes the central processing unit (CPU) to enforce an ordering constraint on memory operations issued before and after the barrier instruction.

See Also