#include <atomicdflt.h>
Go to the source code of this file.
Defines | |
#define | atomic_dec(x) ((void) atomic_add(x, -1)) |
#define | atomic_inc(x) ((void) atomic_add(x, 1)) |
#define | atomic_postdec(x) (atomic_add(x, -1) + 1) |
#define | atomic_postinc(x) (atomic_add(x, 1) - 1) |
#define | atomic_predec(x) atomic_add(x, -1) |
#define | atomic_preinc(x) atomic_add(x, 1) |
#define | LIBC_ARCH_ATOMIC_H_ |
Functions | |
static atomic_count_t | atomic_add (atomic_t *val, atomic_count_t i) |
Definition in file atomic.h.