38#ifndef AO_ATOMIC_OPS_H
39# error This file should not be included directly.
42#ifndef AO_HAVE_double_t
60#ifndef AO_HAVE_fetch_compare_and_swap_full
61# define AO_fetch_compare_and_swap_full(addr, old, newval) \
62 AO_fetch_compare_and_swap_emulation(addr, old, newval)
63# define AO_HAVE_fetch_compare_and_swap_full
66#ifndef AO_HAVE_compare_double_and_swap_double_full
67# define AO_compare_double_and_swap_double_full(addr, old1, old2, \
69 AO_compare_double_and_swap_double_emulation(addr, old1, old2, \
71# define AO_HAVE_compare_double_and_swap_double_full
77#undef AO_HAVE_store_write
78#undef AO_store_release
79#undef AO_HAVE_store_release
81#undef AO_HAVE_store_full
82#define AO_store_full(addr, val) AO_store_full_emulation(addr, val)
83#define AO_HAVE_store_full
AO_API void AO_store_full_emulation(volatile AO_t *addr, AO_t val)
AO_API AO_t AO_fetch_compare_and_swap_emulation(volatile AO_t *addr, AO_t old_val, AO_t new_val)
AO_API int AO_compare_double_and_swap_double_emulation(volatile AO_double_t *addr, AO_t old_val1, AO_t old_val2, AO_t new_val1, AO_t new_val2)