PAPI 7.1.0.0
Loading...
Searching...
No Matches
emul_cas.h File Reference
Include dependency graph for emul_cas.h:

Go to the source code of this file.

Macros

#define AO_fetch_compare_and_swap_full(addr, old, newval)    AO_fetch_compare_and_swap_emulation(addr, old, newval)
 
#define AO_HAVE_fetch_compare_and_swap_full
 
#define AO_compare_double_and_swap_double_full(addr, old1, old2, newval1, newval2)
 
#define AO_HAVE_compare_double_and_swap_double_full
 
#define AO_store_full(addr, val)   AO_store_full_emulation(addr, val)
 
#define AO_HAVE_store_full
 

Functions

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)
 
AO_API void AO_store_full_emulation (volatile AO_t *addr, AO_t val)
 

Macro Definition Documentation

◆ AO_compare_double_and_swap_double_full

#define AO_compare_double_and_swap_double_full (   addr,
  old1,
  old2,
  newval1,
  newval2 
)
Value:
newval1, newval2)
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)

Definition at line 67 of file emul_cas.h.

◆ AO_fetch_compare_and_swap_full

#define AO_fetch_compare_and_swap_full (   addr,
  old,
  newval 
)     AO_fetch_compare_and_swap_emulation(addr, old, newval)

Definition at line 61 of file emul_cas.h.

◆ AO_HAVE_compare_double_and_swap_double_full

#define AO_HAVE_compare_double_and_swap_double_full

Definition at line 71 of file emul_cas.h.

◆ AO_HAVE_fetch_compare_and_swap_full

#define AO_HAVE_fetch_compare_and_swap_full

Definition at line 63 of file emul_cas.h.

◆ AO_HAVE_store_full

#define AO_HAVE_store_full

Definition at line 83 of file emul_cas.h.

◆ AO_store_full

#define AO_store_full (   addr,
  val 
)    AO_store_full_emulation(addr, val)

Definition at line 82 of file emul_cas.h.

Function Documentation

◆ AO_compare_double_and_swap_double_emulation()

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 
)

◆ AO_fetch_compare_and_swap_emulation()

AO_API AO_t AO_fetch_compare_and_swap_emulation ( volatile AO_t addr,
AO_t  old_val,
AO_t  new_val 
)

◆ AO_store_full_emulation()

AO_API void AO_store_full_emulation ( volatile AO_t addr,
AO_t  val 
)