Haka
|
Typedefs | |
typedef volatile uint32 | atomic_t |
typedef volatile uint64 | atomic64_t |
Functions | |
INLINE uint32 | atomic_inc (atomic_t *v) |
INLINE uint32 | atomic_dec (atomic_t *v) |
INLINE uint32 | atomic_get (atomic_t *v) |
INLINE void | atomic_set (atomic_t *v, uint32 x) |
INLINE void | atomic64_set (atomic64_t *v, uint64 x) |
INLINE void | atomic64_init (atomic64_t *v, uint64 x) |
INLINE void | atomic64_destroy (atomic64_t *v) |
INLINE uint64 | atomic64_inc (atomic64_t *v) |
INLINE uint64 | atomic64_dec (atomic64_t *v) |
INLINE uint64 | atomic64_get (atomic64_t *v) |
typedef volatile uint64 atomic64_t |
64 bit atomic opaque type.
INLINE uint64 atomic64_dec | ( | atomic64_t * | v | ) |
Decrement a 64 bit atomic counter.
INLINE void atomic64_destroy | ( | atomic64_t * | v | ) |
Destroy a 64 bit atomic counter.
INLINE uint64 atomic64_get | ( | atomic64_t * | v | ) |
Get the value of a 64 bit atomic counter.
INLINE uint64 atomic64_inc | ( | atomic64_t * | v | ) |
Increment a 64 bit atomic counter.
INLINE void atomic64_init | ( | atomic64_t * | v, |
uint64 | x | ||
) |
Initialize a 64 bit atomic counter.
INLINE void atomic64_set | ( | atomic64_t * | v, |
uint64 | x | ||
) |
Set the current value of a 64 bit atomic counter.
Decrement an atomic counter.
Increment an atomic counter.