ARGOBOTS
dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
|
Go to the documentation of this file.
6 #ifndef ABTI_SCHED_H_INCLUDED
7 #define ABTI_SCHED_H_INCLUDED
13 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
28 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
30 if (p_sched == NULL) {
70 #ifdef ABT_CONFIG_USE_SCHED_SLEEP
71 #define CNT_DECL(c) int c
72 #define CNT_INIT(c, v) c = v
73 #define CNT_INC(c) c++
74 #define SCHED_SLEEP(c, t) \
79 #define CNT_INIT(c, v)
81 #define SCHED_SLEEP(c, t)
static ABTI_sched * ABTI_sched_get_ptr(ABT_sched sched)
int ABT_bool
Boolean type.
static ABT_sched ABTI_sched_get_handle(ABTI_sched *p_sched)
void ABTI_thread_free(ABTI_global *p_global, ABTI_local *p_local, ABTI_thread *p_thread)
struct ABT_sched_opaque * ABT_sched
Scheduler handle type.
static void ABTI_sched_discard_and_free(ABTI_global *p_global, ABTI_local *p_local, ABTI_sched *p_sched, ABT_bool force_free)
static void ABTI_sched_unset_request(ABTI_sched *p_sched, uint32_t req)
static void ABTI_sched_set_request(ABTI_sched *p_sched, uint32_t req)
#define ABT_TRUE
True constant for ABT_bool.
ABTD_atomic_uint32 request
static uint32_t ABTD_atomic_fetch_and_uint32(ABTD_atomic_uint32 *ptr, uint32_t v)
static uint32_t ABTD_atomic_fetch_or_uint32(ABTD_atomic_uint32 *ptr, uint32_t v)
void ABTI_sched_free(ABTI_global *p_global, ABTI_local *p_local, ABTI_sched *p_sched, ABT_bool force_free)
struct ABTI_local ABTI_local