ARGOBOTS  1059a7c2eb7e3f99f736a9c3a4f6ea476ac1b804
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Structures | Macros | Typedefs | 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.

Data Structures

struct  ABTD_atomic_bool
 
struct  ABTD_atomic_int
 
struct  ABTD_atomic_int32
 
struct  ABTD_atomic_uint32
 
struct  ABTD_atomic_int64
 
struct  ABTD_atomic_uint64
 
struct  ABTD_atomic_ptr
 

Macros

#define ABTD_ATOMIC_BOOL_STATIC_INITIALIZER(val)
 
#define ABTD_ATOMIC_INT_STATIC_INITIALIZER(val)
 
#define ABTD_ATOMIC_INT32_STATIC_INITIALIZER(val)
 
#define ABTD_ATOMIC_UINT32_STATIC_INITIALIZER(val)
 
#define ABTD_ATOMIC_INT64_STATIC_INITIALIZER(val)
 
#define ABTD_ATOMIC_UINT64_STATIC_INITIALIZER(val)
 
#define ABTD_ATOMIC_PTR_STATIC_INITIALIZER(val)
 

Typedefs

typedef struct ABTD_atomic_bool ABTD_atomic_bool
 
typedef struct ABTD_atomic_int ABTD_atomic_int
 
typedef struct ABTD_atomic_int32 ABTD_atomic_int32
 
typedef struct ABTD_atomic_uint32 ABTD_atomic_uint32
 
typedef struct ABTD_atomic_int64 ABTD_atomic_int64
 
typedef struct ABTD_atomic_uint64 ABTD_atomic_uint64
 
typedef struct ABTD_atomic_ptr ABTD_atomic_ptr
 

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)
 
static int ABTD_atomic_val_cas_weak_int (ABTD_atomic_int *ptr, int oldv, int newv)
 
static int32_t ABTD_atomic_val_cas_weak_int32 (ABTD_atomic_int32 *ptr, int32_t oldv, int32_t newv)
 
static uint32_t ABTD_atomic_val_cas_weak_uint32 (ABTD_atomic_uint32 *ptr, uint32_t oldv, uint32_t newv)
 
static int64_t ABTD_atomic_val_cas_weak_int64 (ABTD_atomic_int64 *ptr, int64_t oldv, int64_t newv)
 
static uint64_t ABTD_atomic_val_cas_weak_uint64 (ABTD_atomic_uint64 *ptr, uint64_t oldv, uint64_t newv)
 
static void * ABTD_atomic_val_cas_weak_ptr (ABTD_atomic_ptr *ptr, void *oldv, void *newv)
 
static int ABTD_atomic_val_cas_strong_int (ABTD_atomic_int *ptr, int oldv, int newv)
 
static int32_t ABTD_atomic_val_cas_strong_int32 (ABTD_atomic_int32 *ptr, int32_t oldv, int32_t newv)
 
static uint32_t ABTD_atomic_val_cas_strong_uint32 (ABTD_atomic_uint32 *ptr, uint32_t oldv, uint32_t newv)
 
static int64_t ABTD_atomic_val_cas_strong_int64 (ABTD_atomic_int64 *ptr, int64_t oldv, int64_t newv)
 
static uint64_t ABTD_atomic_val_cas_strong_uint64 (ABTD_atomic_uint64 *ptr, uint64_t oldv, uint64_t newv)
 
static void * ABTD_atomic_val_cas_strong_ptr (ABTD_atomic_ptr *ptr, void *oldv, void *newv)
 
static int ABTD_atomic_bool_cas_weak_int (ABTD_atomic_int *ptr, int oldv, int newv)
 
static int ABTD_atomic_bool_cas_weak_int32 (ABTD_atomic_int32 *ptr, int32_t oldv, int32_t newv)
 
static int ABTD_atomic_bool_cas_weak_uint32 (ABTD_atomic_uint32 *ptr, uint32_t oldv, uint32_t newv)
 
static int ABTD_atomic_bool_cas_weak_int64 (ABTD_atomic_int64 *ptr, int64_t oldv, int64_t newv)
 
static int ABTD_atomic_bool_cas_weak_uint64 (ABTD_atomic_uint64 *ptr, uint64_t oldv, uint64_t newv)
 
static int ABTD_atomic_bool_cas_weak_ptr (ABTD_atomic_ptr *ptr, void *oldv, void *newv)
 
static int ABTD_atomic_bool_cas_strong_int (ABTD_atomic_int *ptr, int oldv, int newv)
 
static int ABTD_atomic_bool_cas_strong_int32 (ABTD_atomic_int32 *ptr, int32_t oldv, int32_t newv)
 
static int ABTD_atomic_bool_cas_strong_uint32 (ABTD_atomic_uint32 *ptr, uint32_t oldv, uint32_t newv)
 
static int ABTD_atomic_bool_cas_strong_int64 (ABTD_atomic_int64 *ptr, int64_t oldv, int64_t newv)
 
static int ABTD_atomic_bool_cas_strong_uint64 (ABTD_atomic_uint64 *ptr, uint64_t oldv, uint64_t newv)
 
static int ABTD_atomic_bool_cas_strong_ptr (ABTD_atomic_ptr *ptr, void *oldv, void *newv)
 
static int ABTD_atomic_fetch_add_int (ABTD_atomic_int *ptr, int v)
 
static int32_t ABTD_atomic_fetch_add_int32 (ABTD_atomic_int32 *ptr, int32_t v)
 
static uint32_t ABTD_atomic_fetch_add_uint32 (ABTD_atomic_uint32 *ptr, uint32_t v)
 
static int64_t ABTD_atomic_fetch_add_int64 (ABTD_atomic_int64 *ptr, int64_t v)
 
static uint64_t ABTD_atomic_fetch_add_uint64 (ABTD_atomic_uint64 *ptr, uint64_t v)
 
static int ABTD_atomic_fetch_sub_int (ABTD_atomic_int *ptr, int v)
 
static int32_t ABTD_atomic_fetch_sub_int32 (ABTD_atomic_int32 *ptr, int32_t v)
 
static uint32_t ABTD_atomic_fetch_sub_uint32 (ABTD_atomic_uint32 *ptr, uint32_t v)
 
static int64_t ABTD_atomic_fetch_sub_int64 (ABTD_atomic_int64 *ptr, int64_t v)
 
static uint64_t ABTD_atomic_fetch_sub_uint64 (ABTD_atomic_uint64 *ptr, uint64_t v)
 
static int ABTD_atomic_fetch_and_int (ABTD_atomic_int *ptr, int v)
 
static int32_t ABTD_atomic_fetch_and_int32 (ABTD_atomic_int32 *ptr, int32_t v)
 
static uint32_t ABTD_atomic_fetch_and_uint32 (ABTD_atomic_uint32 *ptr, uint32_t v)
 
static int64_t ABTD_atomic_fetch_and_int64 (ABTD_atomic_int64 *ptr, int64_t v)
 
static uint64_t ABTD_atomic_fetch_and_uint64 (ABTD_atomic_uint64 *ptr, uint64_t v)
 
static int ABTD_atomic_fetch_or_int (ABTD_atomic_int *ptr, int v)
 
static int32_t ABTD_atomic_fetch_or_int32 (ABTD_atomic_int32 *ptr, int32_t v)
 
static uint32_t ABTD_atomic_fetch_or_uint32 (ABTD_atomic_uint32 *ptr, uint32_t v)
 
static int64_t ABTD_atomic_fetch_or_int64 (ABTD_atomic_int64 *ptr, int64_t v)
 
static uint64_t ABTD_atomic_fetch_or_uint64 (ABTD_atomic_uint64 *ptr, uint64_t v)
 
static int ABTD_atomic_fetch_xor_int (ABTD_atomic_int *ptr, int v)
 
static int32_t ABTD_atomic_fetch_xor_int32 (ABTD_atomic_int32 *ptr, int32_t v)
 
static uint32_t ABTD_atomic_fetch_xor_uint32 (ABTD_atomic_uint32 *ptr, uint32_t v)
 
static int64_t ABTD_atomic_fetch_xor_int64 (ABTD_atomic_int64 *ptr, int64_t v)
 
static uint64_t ABTD_atomic_fetch_xor_uint64 (ABTD_atomic_uint64 *ptr, uint64_t v)
 
static uint16_t ABTD_atomic_test_and_set_bool (ABTD_atomic_bool *ptr)
 
static void ABTD_atomic_relaxed_clear_bool (ABTD_atomic_bool *ptr)
 
static void ABTD_atomic_release_clear_bool (ABTD_atomic_bool *ptr)
 
static ABT_bool ABTD_atomic_relaxed_load_bool (const ABTD_atomic_bool *ptr)
 
static int ABTD_atomic_relaxed_load_int (const ABTD_atomic_int *ptr)
 
static int32_t ABTD_atomic_relaxed_load_int32 (const ABTD_atomic_int32 *ptr)
 
static uint32_t ABTD_atomic_relaxed_load_uint32 (const ABTD_atomic_uint32 *ptr)
 
static int64_t ABTD_atomic_relaxed_load_int64 (const ABTD_atomic_int64 *ptr)
 
static uint64_t ABTD_atomic_relaxed_load_uint64 (const ABTD_atomic_uint64 *ptr)
 
static void * ABTD_atomic_relaxed_load_ptr (const ABTD_atomic_ptr *ptr)
 
static ABT_bool ABTD_atomic_acquire_load_bool (const ABTD_atomic_bool *ptr)
 
static int ABTD_atomic_acquire_load_int (const ABTD_atomic_int *ptr)
 
static int32_t ABTD_atomic_acquire_load_int32 (const ABTD_atomic_int32 *ptr)
 
static uint32_t ABTD_atomic_acquire_load_uint32 (const ABTD_atomic_uint32 *ptr)
 
static int64_t ABTD_atomic_acquire_load_int64 (const ABTD_atomic_int64 *ptr)
 
static uint64_t ABTD_atomic_acquire_load_uint64 (const ABTD_atomic_uint64 *ptr)
 
static void * ABTD_atomic_acquire_load_ptr (const ABTD_atomic_ptr *ptr)
 
static void ABTD_atomic_relaxed_store_int (ABTD_atomic_int *ptr, int val)
 
static void ABTD_atomic_relaxed_store_int32 (ABTD_atomic_int32 *ptr, int32_t val)
 
static void ABTD_atomic_relaxed_store_uint32 (ABTD_atomic_uint32 *ptr, uint32_t val)
 
static void ABTD_atomic_relaxed_store_int64 (ABTD_atomic_int64 *ptr, int64_t val)
 
static void ABTD_atomic_relaxed_store_uint64 (ABTD_atomic_uint64 *ptr, uint64_t val)
 
static void ABTD_atomic_relaxed_store_ptr (ABTD_atomic_ptr *ptr, void *val)
 
static void ABTD_atomic_release_store_int (ABTD_atomic_int *ptr, int val)
 
static void ABTD_atomic_release_store_int32 (ABTD_atomic_int32 *ptr, int32_t val)
 
static void ABTD_atomic_release_store_uint32 (ABTD_atomic_uint32 *ptr, uint32_t val)
 
static void ABTD_atomic_release_store_int64 (ABTD_atomic_int64 *ptr, int64_t val)
 
static void ABTD_atomic_release_store_uint64 (ABTD_atomic_uint64 *ptr, uint64_t val)
 
static void ABTD_atomic_release_store_ptr (ABTD_atomic_ptr *ptr, void *val)
 
static int ABTD_atomic_exchange_int (ABTD_atomic_int *ptr, int v)
 
static int32_t ABTD_atomic_exchange_int32 (ABTD_atomic_int32 *ptr, int32_t v)
 
static uint32_t ABTD_atomic_exchange_uint32 (ABTD_atomic_uint32 *ptr, uint32_t v)
 
static int64_t ABTD_atomic_exchange_int64 (ABTD_atomic_int64 *ptr, int64_t v)
 
static uint64_t ABTD_atomic_exchange_uint64 (ABTD_atomic_uint64 *ptr, uint64_t v)
 
static void * ABTD_atomic_exchange_ptr (ABTD_atomic_ptr *ptr, void *v)
 
static void ABTD_atomic_mem_barrier (void)
 
static void ABTD_compiler_barrier (void)
 
static void ABTD_atomic_pause (void)
 

Macro Definition Documentation

#define ABTD_ATOMIC_BOOL_STATIC_INITIALIZER (   val)
Value:
{ \
(val) \
}

Definition at line 39 of file abtd_atomic.h.

#define ABTD_ATOMIC_INT32_STATIC_INITIALIZER (   val)
Value:
{ \
(val) \
}

Definition at line 47 of file abtd_atomic.h.

Referenced by ABT_barrier_wait().

#define ABTD_ATOMIC_INT64_STATIC_INITIALIZER (   val)
Value:
{ \
(val) \
}

Definition at line 55 of file abtd_atomic.h.

#define ABTD_ATOMIC_INT_STATIC_INITIALIZER (   val)
Value:
{ \
(val) \
}

Definition at line 43 of file abtd_atomic.h.

#define ABTD_ATOMIC_PTR_STATIC_INITIALIZER (   val)
Value:
{ \
(val) \
}

Definition at line 63 of file abtd_atomic.h.

#define ABTD_ATOMIC_UINT32_STATIC_INITIALIZER (   val)
Value:
{ \
(val) \
}

Definition at line 51 of file abtd_atomic.h.

#define ABTD_ATOMIC_UINT64_STATIC_INITIALIZER (   val)
Value:
{ \
(val) \
}

Definition at line 59 of file abtd_atomic.h.

Typedef Documentation

Function Documentation

static ABT_bool ABTD_atomic_acquire_load_bool ( const ABTD_atomic_bool ptr)
inlinestatic

Definition at line 746 of file abtd_atomic.h.

Referenced by ABTI_spinlock_acquire().

static int ABTD_atomic_acquire_load_int ( const ABTD_atomic_int ptr)
inlinestatic
static int32_t ABTD_atomic_acquire_load_int32 ( const ABTD_atomic_int32 ptr)
inlinestatic
static int64_t ABTD_atomic_acquire_load_int64 ( const ABTD_atomic_int64 ptr)
inlinestatic

Definition at line 814 of file abtd_atomic.h.

Referenced by ABTD_atomic_exchange_int64().

static void* ABTD_atomic_acquire_load_ptr ( const ABTD_atomic_ptr ptr)
inlinestatic
static uint32_t ABTD_atomic_acquire_load_uint32 ( const ABTD_atomic_uint32 ptr)
inlinestatic
static uint64_t ABTD_atomic_acquire_load_uint64 ( const ABTD_atomic_uint64 ptr)
inlinestatic
static int ABTD_atomic_bool_cas_strong_int ( ABTD_atomic_int ptr,
int  oldv,
int  newv 
)
inlinestatic

Definition at line 334 of file abtd_atomic.h.

static int ABTD_atomic_bool_cas_strong_int32 ( ABTD_atomic_int32 ptr,
int32_t  oldv,
int32_t  newv 
)
inlinestatic

Definition at line 340 of file abtd_atomic.h.

static int ABTD_atomic_bool_cas_strong_int64 ( ABTD_atomic_int64 ptr,
int64_t  oldv,
int64_t  newv 
)
inlinestatic

Definition at line 353 of file abtd_atomic.h.

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

Definition at line 366 of file abtd_atomic.h.

static int ABTD_atomic_bool_cas_strong_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  oldv,
uint32_t  newv 
)
inlinestatic
static int ABTD_atomic_bool_cas_strong_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  oldv,
uint64_t  newv 
)
inlinestatic

Definition at line 359 of file abtd_atomic.h.

static int ABTD_atomic_bool_cas_weak_int ( ABTD_atomic_int ptr,
int  oldv,
int  newv 
)
inlinestatic

Definition at line 298 of file abtd_atomic.h.

Referenced by ABTD_atomic_exchange_int().

static int ABTD_atomic_bool_cas_weak_int32 ( ABTD_atomic_int32 ptr,
int32_t  oldv,
int32_t  newv 
)
inlinestatic

Definition at line 304 of file abtd_atomic.h.

Referenced by ABTD_atomic_exchange_int32().

static int ABTD_atomic_bool_cas_weak_int64 ( ABTD_atomic_int64 ptr,
int64_t  oldv,
int64_t  newv 
)
inlinestatic

Definition at line 316 of file abtd_atomic.h.

Referenced by ABTD_atomic_exchange_int64().

static int ABTD_atomic_bool_cas_weak_ptr ( ABTD_atomic_ptr ptr,
void *  oldv,
void *  newv 
)
inlinestatic
static int ABTD_atomic_bool_cas_weak_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  oldv,
uint32_t  newv 
)
inlinestatic
static int ABTD_atomic_bool_cas_weak_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  oldv,
uint64_t  newv 
)
inlinestatic

Definition at line 322 of file abtd_atomic.h.

Referenced by ABTD_atomic_exchange_uint64().

static int ABTD_atomic_exchange_int ( ABTD_atomic_int ptr,
int  v 
)
inlinestatic

Definition at line 995 of file abtd_atomic.h.

static int32_t ABTD_atomic_exchange_int32 ( ABTD_atomic_int32 ptr,
int32_t  v 
)
inlinestatic

Definition at line 1008 of file abtd_atomic.h.

static int64_t ABTD_atomic_exchange_int64 ( ABTD_atomic_int64 ptr,
int64_t  v 
)
inlinestatic

Definition at line 1036 of file abtd_atomic.h.

static void* ABTD_atomic_exchange_ptr ( ABTD_atomic_ptr ptr,
void *  v 
)
inlinestatic

Definition at line 1064 of file abtd_atomic.h.

static uint32_t ABTD_atomic_exchange_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  v 
)
inlinestatic

Definition at line 1022 of file abtd_atomic.h.

Referenced by ABTI_mutex_lock(), and mutex_lock_low().

static uint64_t ABTD_atomic_exchange_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  v 
)
inlinestatic

Definition at line 1050 of file abtd_atomic.h.

static int ABTD_atomic_fetch_add_int ( ABTD_atomic_int ptr,
int  v 
)
inlinestatic

Definition at line 372 of file abtd_atomic.h.

static int32_t ABTD_atomic_fetch_add_int32 ( ABTD_atomic_int32 ptr,
int32_t  v 
)
inlinestatic
static int64_t ABTD_atomic_fetch_add_int64 ( ABTD_atomic_int64 ptr,
int64_t  v 
)
inlinestatic

Definition at line 401 of file abtd_atomic.h.

static uint32_t ABTD_atomic_fetch_add_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  v 
)
inlinestatic
static uint64_t ABTD_atomic_fetch_add_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  v 
)
inlinestatic

Definition at line 411 of file abtd_atomic.h.

Referenced by pool_get_new_id(), and thread_get_new_id().

static int ABTD_atomic_fetch_and_int ( ABTD_atomic_int ptr,
int  v 
)
inlinestatic

Definition at line 470 of file abtd_atomic.h.

static int32_t ABTD_atomic_fetch_and_int32 ( ABTD_atomic_int32 ptr,
int32_t  v 
)
inlinestatic

Definition at line 479 of file abtd_atomic.h.

static int64_t ABTD_atomic_fetch_and_int64 ( ABTD_atomic_int64 ptr,
int64_t  v 
)
inlinestatic

Definition at line 499 of file abtd_atomic.h.

static uint32_t ABTD_atomic_fetch_and_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  v 
)
inlinestatic

Definition at line 489 of file abtd_atomic.h.

Referenced by ABTI_sched_unset_request(), and ABTI_thread_unset_request().

static uint64_t ABTD_atomic_fetch_and_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  v 
)
inlinestatic

Definition at line 509 of file abtd_atomic.h.

static int ABTD_atomic_fetch_or_int ( ABTD_atomic_int ptr,
int  v 
)
inlinestatic

Definition at line 519 of file abtd_atomic.h.

static int32_t ABTD_atomic_fetch_or_int32 ( ABTD_atomic_int32 ptr,
int32_t  v 
)
inlinestatic

Definition at line 528 of file abtd_atomic.h.

static int64_t ABTD_atomic_fetch_or_int64 ( ABTD_atomic_int64 ptr,
int64_t  v 
)
inlinestatic

Definition at line 548 of file abtd_atomic.h.

static uint32_t ABTD_atomic_fetch_or_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  v 
)
inlinestatic
static uint64_t ABTD_atomic_fetch_or_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  v 
)
inlinestatic

Definition at line 558 of file abtd_atomic.h.

static int ABTD_atomic_fetch_sub_int ( ABTD_atomic_int ptr,
int  v 
)
inlinestatic

Definition at line 421 of file abtd_atomic.h.

static int32_t ABTD_atomic_fetch_sub_int32 ( ABTD_atomic_int32 ptr,
int32_t  v 
)
inlinestatic
static int64_t ABTD_atomic_fetch_sub_int64 ( ABTD_atomic_int64 ptr,
int64_t  v 
)
inlinestatic

Definition at line 450 of file abtd_atomic.h.

static uint32_t ABTD_atomic_fetch_sub_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  v 
)
inlinestatic
static uint64_t ABTD_atomic_fetch_sub_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  v 
)
inlinestatic

Definition at line 460 of file abtd_atomic.h.

static int ABTD_atomic_fetch_xor_int ( ABTD_atomic_int ptr,
int  v 
)
inlinestatic

Definition at line 568 of file abtd_atomic.h.

static int32_t ABTD_atomic_fetch_xor_int32 ( ABTD_atomic_int32 ptr,
int32_t  v 
)
inlinestatic

Definition at line 577 of file abtd_atomic.h.

static int64_t ABTD_atomic_fetch_xor_int64 ( ABTD_atomic_int64 ptr,
int64_t  v 
)
inlinestatic

Definition at line 597 of file abtd_atomic.h.

static uint32_t ABTD_atomic_fetch_xor_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  v 
)
inlinestatic

Definition at line 587 of file abtd_atomic.h.

static uint64_t ABTD_atomic_fetch_xor_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  v 
)
inlinestatic

Definition at line 607 of file abtd_atomic.h.

static void ABTD_atomic_mem_barrier ( void  )
inlinestatic

Definition at line 1077 of file abtd_atomic.h.

Referenced by ABTI_mutex_unlock().

static void ABTD_atomic_pause ( void  )
inlinestatic
static void ABTD_atomic_relaxed_clear_bool ( ABTD_atomic_bool ptr)
inlinestatic

Definition at line 627 of file abtd_atomic.h.

Referenced by ABTI_spinlock_clear().

static ABT_bool ABTD_atomic_relaxed_load_bool ( const ABTD_atomic_bool ptr)
inlinestatic

Definition at line 646 of file abtd_atomic.h.

static int ABTD_atomic_relaxed_load_int ( const ABTD_atomic_int ptr)
inlinestatic
static int32_t ABTD_atomic_relaxed_load_int32 ( const ABTD_atomic_int32 ptr)
inlinestatic

Definition at line 675 of file abtd_atomic.h.

static int64_t ABTD_atomic_relaxed_load_int64 ( const ABTD_atomic_int64 ptr)
inlinestatic

Definition at line 703 of file abtd_atomic.h.

static void* ABTD_atomic_relaxed_load_ptr ( const ABTD_atomic_ptr ptr)
inlinestatic
static uint32_t ABTD_atomic_relaxed_load_uint32 ( const ABTD_atomic_uint32 ptr)
inlinestatic
static uint64_t ABTD_atomic_relaxed_load_uint64 ( const ABTD_atomic_uint64 ptr)
inlinestatic

Definition at line 717 of file abtd_atomic.h.

static void ABTD_atomic_relaxed_store_int ( ABTD_atomic_int ptr,
int  val 
)
inlinestatic
static void ABTD_atomic_relaxed_store_int32 ( ABTD_atomic_int32 ptr,
int32_t  val 
)
inlinestatic

Definition at line 874 of file abtd_atomic.h.

static void ABTD_atomic_relaxed_store_int64 ( ABTD_atomic_int64 ptr,
int64_t  val 
)
inlinestatic

Definition at line 894 of file abtd_atomic.h.

static void ABTD_atomic_relaxed_store_ptr ( ABTD_atomic_ptr ptr,
void *  val 
)
inlinestatic
static void ABTD_atomic_relaxed_store_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  val 
)
inlinestatic
static void ABTD_atomic_relaxed_store_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  val 
)
inlinestatic

Definition at line 904 of file abtd_atomic.h.

Referenced by ABTI_sched_reset_id(), and init_library().

static void ABTD_atomic_release_clear_bool ( ABTD_atomic_bool ptr)
inlinestatic

Definition at line 636 of file abtd_atomic.h.

Referenced by ABTI_spinlock_release().

static void ABTD_atomic_release_store_int ( ABTD_atomic_int ptr,
int  val 
)
inlinestatic
static void ABTD_atomic_release_store_int32 ( ABTD_atomic_int32 ptr,
int32_t  val 
)
inlinestatic

Definition at line 935 of file abtd_atomic.h.

Referenced by ABT_barrier_wait(), and pool_create().

static void ABTD_atomic_release_store_int64 ( ABTD_atomic_int64 ptr,
int64_t  val 
)
inlinestatic

Definition at line 959 of file abtd_atomic.h.

static void ABTD_atomic_release_store_ptr ( ABTD_atomic_ptr ptr,
void *  val 
)
inlinestatic
static void ABTD_atomic_release_store_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  val 
)
inlinestatic
static void ABTD_atomic_release_store_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  val 
)
inlinestatic
static uint16_t ABTD_atomic_test_and_set_bool ( ABTD_atomic_bool ptr)
inlinestatic

Definition at line 617 of file abtd_atomic.h.

Referenced by ABTI_spinlock_acquire().

static int ABTD_atomic_val_cas_strong_int ( ABTD_atomic_int ptr,
int  oldv,
int  newv 
)
inlinestatic

Definition at line 258 of file abtd_atomic.h.

static int32_t ABTD_atomic_val_cas_strong_int32 ( ABTD_atomic_int32 ptr,
int32_t  oldv,
int32_t  newv 
)
inlinestatic

Definition at line 264 of file abtd_atomic.h.

static int64_t ABTD_atomic_val_cas_strong_int64 ( ABTD_atomic_int64 ptr,
int64_t  oldv,
int64_t  newv 
)
inlinestatic

Definition at line 278 of file abtd_atomic.h.

static void* ABTD_atomic_val_cas_strong_ptr ( ABTD_atomic_ptr ptr,
void *  oldv,
void *  newv 
)
inlinestatic

Definition at line 292 of file abtd_atomic.h.

static uint32_t ABTD_atomic_val_cas_strong_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  oldv,
uint32_t  newv 
)
inlinestatic

Definition at line 272 of file abtd_atomic.h.

Referenced by ABTI_mutex_lock(), and mutex_lock_low().

static uint64_t ABTD_atomic_val_cas_strong_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  oldv,
uint64_t  newv 
)
inlinestatic

Definition at line 286 of file abtd_atomic.h.

static int ABTD_atomic_val_cas_weak_int ( ABTD_atomic_int ptr,
int  oldv,
int  newv 
)
inlinestatic

Definition at line 220 of file abtd_atomic.h.

static int32_t ABTD_atomic_val_cas_weak_int32 ( ABTD_atomic_int32 ptr,
int32_t  oldv,
int32_t  newv 
)
inlinestatic

Definition at line 226 of file abtd_atomic.h.

static int64_t ABTD_atomic_val_cas_weak_int64 ( ABTD_atomic_int64 ptr,
int64_t  oldv,
int64_t  newv 
)
inlinestatic

Definition at line 239 of file abtd_atomic.h.

static void* ABTD_atomic_val_cas_weak_ptr ( ABTD_atomic_ptr ptr,
void *  oldv,
void *  newv 
)
inlinestatic

Definition at line 252 of file abtd_atomic.h.

static uint32_t ABTD_atomic_val_cas_weak_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  oldv,
uint32_t  newv 
)
inlinestatic

Definition at line 232 of file abtd_atomic.h.

static uint64_t ABTD_atomic_val_cas_weak_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  oldv,
uint64_t  newv 
)
inlinestatic

Definition at line 245 of file abtd_atomic.h.

static void ABTD_compiler_barrier ( void  )
inlinestatic

Definition at line 1086 of file abtd_atomic.h.

static int ABTDI_atomic_bool_cas_int ( ABTD_atomic_int ptr,
int  oldv,
int  newv,
int  weak 
)
inlinestatic
static int ABTDI_atomic_bool_cas_int32 ( ABTD_atomic_int32 ptr,
int32_t  oldv,
int32_t  newv,
int  weak 
)
inlinestatic
static int ABTDI_atomic_bool_cas_int64 ( ABTD_atomic_int64 ptr,
int64_t  oldv,
int64_t  newv,
int  weak 
)
inlinestatic
static int ABTDI_atomic_bool_cas_ptr ( ABTD_atomic_ptr ptr,
void *  oldv,
void *  newv,
int  weak 
)
inlinestatic
static int ABTDI_atomic_bool_cas_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  oldv,
uint32_t  newv,
int  weak 
)
inlinestatic
static int ABTDI_atomic_bool_cas_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  oldv,
uint64_t  newv,
int  weak 
)
inlinestatic
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 ABTD_atomic_val_cas_strong_int(), and ABTD_atomic_val_cas_weak_int().

static int32_t ABTDI_atomic_val_cas_int32 ( ABTD_atomic_int32 ptr,
int32_t  oldv,
int32_t  newv,
int  weak 
)
inlinestatic
static int64_t ABTDI_atomic_val_cas_int64 ( ABTD_atomic_int64 ptr,
int64_t  oldv,
int64_t  newv,
int  weak 
)
inlinestatic
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 ABTD_atomic_val_cas_strong_ptr(), and ABTD_atomic_val_cas_weak_ptr().

static uint32_t ABTDI_atomic_val_cas_uint32 ( ABTD_atomic_uint32 ptr,
uint32_t  oldv,
uint32_t  newv,
int  weak 
)
inlinestatic
static uint64_t ABTDI_atomic_val_cas_uint64 ( ABTD_atomic_uint64 ptr,
uint64_t  oldv,
uint64_t  newv,
int  weak 
)
inlinestatic