29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
51M_API M_bool
M_atomic_cas32(
volatile M_uint32 *ptr, M_uint32 expected, M_uint32 newval);
61M_API M_bool
M_atomic_cas64(
volatile M_uint64 *ptr, M_uint64 expected, M_uint64 newval);
M_uint32 M_atomic_sub_u32(volatile M_uint32 *ptr, M_uint32 val)
M_bool M_atomic_cas32(volatile M_uint32 *ptr, M_uint32 expected, M_uint32 newval)
M_uint64 M_atomic_inc_u64(volatile M_uint64 *ptr)
M_bool M_atomic_cas64(volatile M_uint64 *ptr, M_uint64 expected, M_uint64 newval)
M_uint32 M_atomic_inc_u32(volatile M_uint32 *ptr)
M_uint32 M_atomic_dec_u32(volatile M_uint32 *ptr)
M_uint64 M_atomic_add_u64(volatile M_uint64 *ptr, M_uint64 val)
M_uint32 M_atomic_add_u32(volatile M_uint32 *ptr, M_uint32 val)
M_uint64 M_atomic_dec_u64(volatile M_uint64 *ptr)
M_uint64 M_atomic_sub_u64(volatile M_uint64 *ptr, M_uint64 val)