You copied the Doc URL to your clipboard.

__dmb intrinsic

This intrinsic inserts a DMB or equivalent instruction into the instruction stream generated by the compiler.

The DMB instruction ensures the observed ordering of memory accesses.

If the target does not support the DMB instruction, the compiler treats this intrinsic as an optimization barrier.

Syntax

void __dmb(unsigned int val)

Where val is a numeric argument indicating the scope and access type of the barrier. See ARM C Language Extensions for more information.

Related information
Was this page helpful? Yes No