PAPI 7.1.0.0
Loading...
Searching...
No Matches
atomic_store.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AO_HAVE_store
 

Functions

AO_INLINE void AO_store (volatile AO_t *addr, AO_t new_val)
 

Macro Definition Documentation

◆ AO_HAVE_store

#define AO_HAVE_store

Definition at line 35 of file atomic_store.h.

Function Documentation

◆ AO_store()

AO_INLINE void AO_store ( volatile AO_t addr,
AO_t  new_val 
)

Definition at line 28 of file atomic_store.h.

29{
30# ifdef AO_ACCESS_CHECK_ALIGNED
32# endif
33 *(AO_t *)addr = new_val;
34}
#define AO_ASSERT_ADDR_ALIGNED(addr)
Definition: atomic_ops.h:266
#define AO_t
Definition: atomic_ops.h:156