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>
29 __atomic_thread_fence(__ATOMIC_SEQ_CST);
31 atomic_thread_fence(memory_order_seq_cst);
39 __atomic_thread_fence(__ATOMIC_SEQ_CST);
41 atomic_thread_fence(memory_order_seq_cst);
47 __asm__
volatile(
"" : : :
"memory");