Go to the documentation of this file.
6 #ifndef ABTI_THREAD_H_INCLUDED
7 #define ABTI_THREAD_H_INCLUDED
11 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
26 #ifndef ABT_CONFIG_DISABLE_ERROR_CHECK
28 if (p_thread == NULL) {
struct ABT_thread_opaque * ABT_thread
Work unit handle type.
#define ABTI_THREAD_TYPE_YIELDABLE
ABTD_atomic_uint32 request
static ABTI_ythread * ABTI_thread_get_ythread(ABTI_thread *p_thread)
static ABT_thread ABTI_thread_get_handle(ABTI_thread *p_thread)
#define ABTI_THREAD_TYPE_EXT
static ABT_unit_type ABTI_thread_type_get_type(ABTI_thread_type type)
static ABTI_ythread * ABTI_thread_get_ythread_or_null(ABTI_thread *p_thread)
ABT_unit_type
Type of a work unit for scheduling.
#define ABTI_STATIC_ASSERT(cond)
uint32_t ABTI_thread_type
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)
static void ABTI_thread_unset_request(ABTI_thread *p_thread, uint32_t req)
static ABTI_thread * ABTI_thread_get_ptr(ABT_thread thread)
static void ABTI_thread_set_request(ABTI_thread *p_thread, uint32_t req)