23 #ifndef _SEXP_ATOMIC_H
24 #define _SEXP_ATOMIC_H
29 uint16_t SEXP_atomic_dec_u16 (
volatile uint16_t *ptr);
30 uint16_t SEXP_atomic_inc_u16 (
volatile uint16_t *ptr);
31 bool SEXP_atomic_cas_u16 (
volatile uint16_t *ptr, uint16_t old, uint16_t
new);
33 uint32_t SEXP_atomic_dec_u32 (
volatile uint32_t *ptr);
34 uint32_t SEXP_atomic_inc_u32 (
volatile uint32_t *ptr);
35 bool SEXP_atomic_cas_u32 (
volatile uint32_t *ptr, uint32_t old, uint32_t
new);