Go to the documentation of this file.
6 #ifndef ABTI_COND_H_INCLUDED
7 #define ABTI_COND_H_INCLUDED
30 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
45 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
static void ABTI_mutex_lock(ABTI_local **pp_local, ABTI_mutex *p_mutex)
static void ABTI_waitlist_broadcast(ABTI_local *p_local, ABTI_waitlist *p_waitlist)
static void ABTI_cond_fini(ABTI_cond *p_cond)
#define ABT_ERR_INV_MUTEX
Error code: invalid mutex.
static void ABTI_mutex_unlock(ABTI_local *p_local, ABTI_mutex *p_mutex)
static void ABTD_spinlock_acquire(ABTD_spinlock *p_lock)
ABTI_mutex * p_waiter_mutex
static void ABTI_cond_init(ABTI_cond *p_cond)
static ABT_cond ABTI_cond_get_handle(ABTI_cond *p_cond)
#define ABT_SUCCESS
Error code: the routine returns successfully.
static ABTU_ret_err int ABTI_cond_wait(ABTI_local **pp_local, ABTI_cond *p_cond, ABTI_mutex *p_mutex)
static void ABTD_spinlock_clear(ABTD_spinlock *p_lock)
static void ABTD_spinlock_release(ABTD_spinlock *p_lock)
struct ABT_cond_opaque * ABT_cond
Condition variable handle type.
struct ABTI_local ABTI_local
static void ABTI_cond_broadcast(ABTI_local *p_local, ABTI_cond *p_cond)
static void ABTI_waitlist_init(ABTI_waitlist *p_waitlist)
static void ABTI_waitlist_wait_and_unlock(ABTI_local **pp_local, ABTI_waitlist *p_waitlist, ABTD_spinlock *p_lock, ABT_sync_event_type sync_event_type, void *p_sync)
static ABTI_cond * ABTI_cond_get_ptr(ABT_cond cond)