private_atomic_core.h File Reference

Namespaces

 maxon
 

Macros

#define CompilerOptimizationBarrier()
 

Functions

Bool atomic_try_cas32 (Int32 volatile *dst, Int32 xchg, Int32 cmp)
 
Bool atomic_try_cas32HLE (Int32 volatile *dst, Int32 xchg, Int32 cmp)
 
Char atomic_swap_add8 (Char volatile *dst, Char value)
 
Int16 atomic_swap_add16 (Int16 volatile *dst, Int16 value)
 
Int32 atomic_swap_add32 (Int32 volatile *dst, Int32 value)
 
Char atomic_swap8 (Char volatile *dst, Char value)
 
Int16 atomic_swap16 (Int16 volatile *dst, Int16 value)
 
Int32 atomic_swap32 (Int32 volatile *dst, Int32 value)
 
Bool atomic_try_cas64 (Int64 volatile *dst, Int64 xchg, Int64 cmp)
 
Bool atomic_try_cas64HLE (Int64 volatile *dst, Int64 xchg, Int64 cmp)
 
Bool atomic_try_cas128 (Int64 volatile *dst, Int64 xchghi, Int64 xchglo, Int64 cmphi, Int64 cmplo)
 
Int64 atomic_swap_add64 (Int64 volatile *dst, Int64 value)
 
Int64 atomic_swap64 (Int64 volatile *dst, Int64 value)
 
Int32 atomic_swap_or32 (Int32 volatile *dst, Int32 mask)
 
Int32 atomic_swap_and32 (Int32 volatile *dst, Int32 mask)
 
Bool atomic_try_cas8 (Char volatile *dst, Char xchg, Char cmp)
 
Bool atomic_try_cas16 (Int16 volatile *dst, Int16 xchg, Int16 cmp)
 
Char atomic_consume_load8 (Char volatile *src)
 
Int16 atomic_consume_load16 (Int16 volatile *src)
 
Int32 atomic_consume_load32 (Int32 volatile *src)
 
Int64 atomic_consume_load64 (Int64 volatile *src)
 
Char atomic_acquire_load8 (Char volatile *src)
 
Int16 atomic_acquire_load16 (Int16 volatile *src)
 
Int32 atomic_acquire_load32 (Int32 volatile *src)
 
Int64 atomic_acquire_load64 (Int64 volatile *src)
 
Char atomic_sequential_load8 (Char volatile *src)
 
Int16 atomic_sequential_load16 (Int16 volatile *src)
 
Int32 atomic_sequential_load32 (Int32 volatile *src)
 
Int64 atomic_sequential_load64 (Int64 volatile *src)
 
void atomic_release_store8 (Char volatile *dst, Char value)
 
void atomic_release_store16 (Int16 volatile *dst, Int16 value)
 
void atomic_release_store32 (Int32 volatile *dst, Int32 value)
 
void atomic_release_store32HLE (Int32 volatile *dst, Int32 value)
 
void atomic_release_store64 (Int64 volatile *dst, Int64 value)
 
void atomic_release_store64HLE (Int64 volatile *dst, Int64 value)
 
void atomic_sequential_store8 (Char volatile *dst, Char value)
 
void atomic_sequential_store16 (Int16 volatile *dst, Int16 value)
 
void atomic_sequential_store32 (Int32 volatile *dst, Int32 value)
 
void atomic_sequential_store64 (Int64 volatile *dst, Int64 value)
 

Macro Definition Documentation

◆ CompilerOptimizationBarrier

#define CompilerOptimizationBarrier ( )