PostgreSQL Source Code git master
|
Go to the source code of this file.
Data Structures | |
struct | pg_atomic_uint32 |
Macros | |
#define | PG_HAVE_ATOMIC_U32_SUPPORT |
#define | PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U32 |
#define | PG_HAVE_ATOMIC_FETCH_ADD_U32 |
#define | PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY |
Typedefs | |
typedef struct pg_atomic_uint32 | pg_atomic_uint32 |
Functions | |
static bool | pg_atomic_compare_exchange_u32_impl (volatile pg_atomic_uint32 *ptr, uint32 *expected, uint32 newval) |
static uint32 | pg_atomic_fetch_add_u32_impl (volatile pg_atomic_uint32 *ptr, int32 add_) |
#define PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY |
Definition at line 256 of file arch-ppc.h.
#define PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U32 |
Definition at line 78 of file arch-ppc.h.
#define PG_HAVE_ATOMIC_FETCH_ADD_U32 |
Definition at line 129 of file arch-ppc.h.
#define PG_HAVE_ATOMIC_U32_SUPPORT |
Definition at line 28 of file arch-ppc.h.
typedef struct pg_atomic_uint32 pg_atomic_uint32 |
|
inlinestatic |
Definition at line 80 of file arch-ppc.h.
References newval, PG_INT16_MAX, PG_INT16_MIN, and pg_atomic_uint32::value.
Referenced by pg_atomic_compare_exchange_u32().
|
inlinestatic |
Definition at line 131 of file arch-ppc.h.
References PG_INT16_MIN, res, and pg_atomic_uint32::value.
Referenced by pg_atomic_fetch_add_u32().