ARGOBOTS
Functions
abtd_atomic.h File Reference
#include <stdint.h>
Include dependency graph for abtd_atomic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static int ABTDI_atomic_val_cas_int (ABTD_atomic_int *ptr, int oldv, int newv, int weak)
 
static int32_t ABTDI_atomic_val_cas_int32 (ABTD_atomic_int32 *ptr, int32_t oldv, int32_t newv, int weak)
 
static uint32_t ABTDI_atomic_val_cas_uint32 (ABTD_atomic_uint32 *ptr, uint32_t oldv, uint32_t newv, int weak)
 
static int64_t ABTDI_atomic_val_cas_int64 (ABTD_atomic_int64 *ptr, int64_t oldv, int64_t newv, int weak)
 
static uint64_t ABTDI_atomic_val_cas_uint64 (ABTD_atomic_uint64 *ptr, uint64_t oldv, uint64_t newv, int weak)
 
static void * ABTDI_atomic_val_cas_ptr (ABTD_atomic_ptr *ptr, void *oldv, void *newv, int weak)
 
static int ABTDI_atomic_bool_cas_int (ABTD_atomic_int *ptr, int oldv, int newv, int weak)
 
static int ABTDI_atomic_bool_cas_int32 (ABTD_atomic_int32 *ptr, int32_t oldv, int32_t newv, int weak)
 
static int ABTDI_atomic_bool_cas_uint32 (ABTD_atomic_uint32 *ptr, uint32_t oldv, uint32_t newv, int weak)
 
static int ABTDI_atomic_bool_cas_int64 (ABTD_atomic_int64 *ptr, int64_t oldv, int64_t newv, int weak)
 
static int ABTDI_atomic_bool_cas_uint64 (ABTD_atomic_uint64 *ptr, uint64_t oldv, uint64_t newv, int weak)
 
static int ABTDI_atomic_bool_cas_ptr (ABTD_atomic_ptr *ptr, void *oldv, void *newv, int weak)
 

Function Documentation

static int ABTDI_atomic_bool_cas_int ( ABTD_atomic_int *  ptr,
int  oldv,
int  newv,
int  weak 
)
inlinestatic

Definition at line 150 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static int ABTDI_atomic_bool_cas_int32 ( ABTD_atomic_int32 *  ptr,
int32_t  oldv,
int32_t  newv,
int  weak 
)
inlinestatic

Definition at line 161 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static int ABTDI_atomic_bool_cas_int64 ( ABTD_atomic_int64 *  ptr,
int64_t  oldv,
int64_t  newv,
int  weak 
)
inlinestatic

Definition at line 185 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static int ABTDI_atomic_bool_cas_ptr ( ABTD_atomic_ptr *  ptr,
void *  oldv,
void *  newv,
int  weak 
)
inlinestatic

Definition at line 209 of file abtd_atomic.h.

static int ABTDI_atomic_bool_cas_uint32 ( ABTD_atomic_uint32 *  ptr,
uint32_t  oldv,
uint32_t  newv,
int  weak 
)
inlinestatic

Definition at line 173 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static int ABTDI_atomic_bool_cas_uint64 ( ABTD_atomic_uint64 *  ptr,
uint64_t  oldv,
uint64_t  newv,
int  weak 
)
inlinestatic

Definition at line 197 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static int ABTDI_atomic_val_cas_int ( ABTD_atomic_int *  ptr,
int  oldv,
int  newv,
int  weak 
)
inlinestatic

Definition at line 68 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static int32_t ABTDI_atomic_val_cas_int32 ( ABTD_atomic_int32 *  ptr,
int32_t  oldv,
int32_t  newv,
int  weak 
)
inlinestatic

Definition at line 81 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static int64_t ABTDI_atomic_val_cas_int64 ( ABTD_atomic_int64 *  ptr,
int64_t  oldv,
int64_t  newv,
int  weak 
)
inlinestatic

Definition at line 109 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static void* ABTDI_atomic_val_cas_ptr ( ABTD_atomic_ptr *  ptr,
void *  oldv,
void *  newv,
int  weak 
)
inlinestatic

Definition at line 137 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static uint32_t ABTDI_atomic_val_cas_uint32 ( ABTD_atomic_uint32 *  ptr,
uint32_t  oldv,
uint32_t  newv,
int  weak 
)
inlinestatic

Definition at line 95 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().

static uint64_t ABTDI_atomic_val_cas_uint64 ( ABTD_atomic_uint64 *  ptr,
uint64_t  oldv,
uint64_t  newv,
int  weak 
)
inlinestatic

Definition at line 123 of file abtd_atomic.h.

Referenced by ABTDI_atomic_bool_cas_ptr().