PAPI 7.1.0.0
Loading...
Searching...
No Matches
atomic_load.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_load
 

Functions

AO_INLINE AO_t AO_load (const volatile AO_t *addr)
 

Macro Definition Documentation

◆ AO_HAVE_load

#define AO_HAVE_load

Definition at line 37 of file atomic_load.h.

Function Documentation

◆ AO_load()

AO_INLINE AO_t AO_load ( const volatile AO_t addr)

Definition at line 28 of file atomic_load.h.

29{
30# ifdef AO_ACCESS_CHECK_ALIGNED
32# endif
33 /* Cast away the volatile for architectures like IA64 where */
34 /* volatile adds barrier (fence) semantics. */
35 return *(const AO_t *)addr;
36}
#define AO_ASSERT_ADDR_ALIGNED(addr)
Definition: atomic_ops.h:266
#define AO_t
Definition: atomic_ops.h:156