21 #ifdef PG_HAVE_ATOMIC_U64_SIMULATION
27 "size mismatch of atomic_uint64 vs slock_t");
35 uint64 *expected, uint64
newval)
50 ret = ptr->
value == *expected;
51 *expected = ptr->
value;
uint64 pg_atomic_fetch_add_u64_impl(volatile pg_atomic_uint64 *ptr, int64 add_)
void pg_atomic_init_u64_impl(volatile pg_atomic_uint64 *ptr, uint64 val_)
bool pg_atomic_compare_exchange_u64_impl(volatile pg_atomic_uint64 *ptr, uint64 *expected, uint64 newval)
#define StaticAssertDecl(condition, errmessage)
#define SpinLockInit(lock)
#define SpinLockRelease(lock)
#define SpinLockAcquire(lock)