12#ifndef ODP_ABI_ATOMIC_H_
13#define ODP_ABI_ATOMIC_H_
30#if __GCC_ATOMIC_LLONG_LOCK_FREE >= 2
46#define ODP_ATOMIC_U64_LOCK 1
61#if defined(__SIZEOF_INT128__) || defined(_ODP_LOCK_FREE_128BIT_ATOMICS)
struct odp_atomic_u128_s odp_atomic_u128_t
struct odp_atomic_u32_s odp_atomic_u32_t
struct odp_atomic_u64_s odp_atomic_u64_t
Standard C language types and definitions for ODP.
#define ODP_ALIGNED(x)
Defines type/struct/variable alignment in bytes.
odp_u128_t v
Actual storage for the atomic variable.
char lock
Spin lock (if needed) used to ensure atomic access.
uint32_t v
Actual storage for the atomic variable.
uint64_t v
Actual storage for the atomic variable.
char lock
Spin lock (if needed) used to ensure atomic access.
128-bit unsigned integer structure