7#ifndef ZEPHYR_INCLUDE_SYS_ATOMIC_C_H_
8#define ZEPHYR_INCLUDE_SYS_ATOMIC_C_H_
74#ifdef CONFIG_ATOMIC_OPERATIONS_C
75#include <syscalls/atomic_c.h>
atomic_t atomic_val_t
Definition: atomic.h:22
atomic_ptr_t atomic_ptr_val_t
Definition: atomic.h:24
void * atomic_ptr_t
Definition: atomic.h:23
int atomic_t
Definition: atomic.h:21
static atomic_val_t atomic_dec(atomic_t *target)
Definition: atomic_c.h:36
atomic_val_t atomic_or(atomic_t *target, atomic_val_t value)
atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value)
atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target)
atomic_val_t atomic_get(const atomic_t *target)
atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value)
atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value)
static atomic_val_t atomic_clear(atomic_t *target)
Definition: atomic_c.h:50
atomic_val_t atomic_and(atomic_t *target, atomic_val_t value)
atomic_val_t atomic_add(atomic_t *target, atomic_val_t value)
atomic_val_t atomic_set(atomic_t *target, atomic_val_t value)
static atomic_val_t atomic_inc(atomic_t *target)
Definition: atomic_c.h:30
atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value)
static atomic_ptr_val_t atomic_ptr_clear(atomic_ptr_t *target)
Definition: atomic_c.h:56
bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, atomic_ptr_val_t new_value)
bool atomic_cas(atomic_t *target, atomic_val_t old_value, atomic_val_t new_value)
int target
Definition: main.c:68