7#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_BUILTIN_H_
8#define ZEPHYR_INCLUDE_SYS_BARRIER_BUILTIN_H_
10#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_H_
11#error Please include <zephyr/sys/barrier.h>
24 __atomic_thread_fence(__ATOMIC_SEQ_CST);
26 atomic_thread_fence(memory_order_seq_cst);
34 __atomic_thread_fence(__ATOMIC_SEQ_CST);
36 atomic_thread_fence(memory_order_seq_cst);
42 __asm__
volatile(
"" : : :
"memory");
#define ALWAYS_INLINE
Definition common.h:129