16#ifndef INSIDE_ATOMICS_H
17# error "should be included via atomics.h"
21#if !defined(PG_HAVE_ATOMIC_U64_SUPPORT)
23#define PG_HAVE_ATOMIC_U64_SIMULATION
25#define PG_HAVE_ATOMIC_U64_SUPPORT
32#define PG_HAVE_ATOMIC_INIT_U64
35#define PG_HAVE_ATOMIC_COMPARE_EXCHANGE_U64
39#define PG_HAVE_ATOMIC_FETCH_ADD_U64
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_)
struct pg_atomic_uint64 pg_atomic_uint64
bool pg_atomic_compare_exchange_u64_impl(volatile pg_atomic_uint64 *ptr, uint64 *expected, uint64 newval)