Contiki-NG
Macros
CPU/Compiler memory barriers

API for CPU/Compiler memory barriers. More...

Macros

#define memory_barrier()
 Insert a memory barrier. More...
 

Detailed Description

API for CPU/Compiler memory barriers.

Macro Definition Documentation

◆ memory_barrier

#define memory_barrier ( )

Insert a memory barrier.

It is the platform/CPU developer's responsibility to expand this macro to a function that creates a memory barrier. Calling this macro will otherwise not generate any code.

Definition at line 59 of file memory-barrier.h.