50 LOG_DEBUG(
"[U%" PRIu64
":E%d] terminated\n",
93 #if ABT_CONFIG_THREAD_TYPE == ABT_THREAD_TYPE_DYNAMIC_PROMOTION
141 fprintf(p_os,
"%sp_ctx : %p\n", prefix, p_ctx->
p_ctx);
142 fprintf(p_os,
"%sp_link : %p\n", prefix,
void ABTD_thread_exit(ABTI_xstream *p_local_xstream, ABTI_thread *p_thread)
#define ABTI_UNIT_REQ_JOIN
char * ABTU_get_indent_str(int indent)
static void ABTD_thread_terminate(ABTI_xstream *p_local_xstream, ABTI_thread *p_thread)
static void ABTD_atomic_release_store_int(ABTD_atomic_int *ptr, int val)
ABTD_atomic_uint32 request
ABTI_xstream * p_last_xstream
static void ABTD_atomic_release_store_uint32(ABTD_atomic_uint32 *ptr, uint32_t val)
static ABTU_noreturn void ABTI_thread_finish_context_to_parent(ABTI_xstream *p_local_xstream, ABTI_thread *p_old)
static ABTD_thread_context * ABTD_atomic_acquire_load_thread_context_ptr(const ABTD_thread_context_atomic_ptr *ptr)
static uint32_t ABTD_atomic_fetch_or_uint32(ABTD_atomic_uint32 *ptr, uint32_t v)
ABT_unit_id ABTI_thread_get_id(ABTI_thread *p_thread)
void ABTD_thread_cancel(ABTI_xstream *p_local_xstream, ABTI_thread *p_thread)
void ABTD_thread_func_wrapper(void *p_arg)
#define ABTI_UNIT_REQ_TERMINATE
static ABTI_thread * ABTI_unit_get_thread(ABTI_unit *p_unit)
static ABTI_thread * ABTI_thread_context_get_thread(ABTD_thread_context *p_ctx)
void ABTD_thread_terminate_no_arg()
void ABTD_thread_print_context(ABTI_thread *p_thread, FILE *p_os, int indent)
ABTD_thread_context_atomic_ptr p_link
static ABTI_xstream * ABTI_local_get_xstream(void)
int ABTI_thread_set_ready(ABTI_xstream *p_local_xstream, ABTI_thread *p_thread)
#define ABTI_ASSERT(cond)
#define LOG_DEBUG(fmt,...)
static ABTU_noreturn void ABTI_thread_finish_context_to_sibling(ABTI_xstream *p_local_xstream, ABTI_thread *p_old, ABTI_thread *p_new)
static ABT_bool ABTI_unit_type_is_thread(ABTI_unit_type type)
static void ABTU_free(void *ptr)
static ABTD_thread_context * ABTD_atomic_relaxed_load_thread_context_ptr(const ABTD_thread_context_atomic_ptr *ptr)