ARGOBOTS  1.1
Functions
abti_ythread.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static ABTI_ythreadABTI_ythread_get_ptr (ABT_thread thread)
 
static ABT_thread ABTI_ythread_get_handle (ABTI_ythread *p_ythread)
 
static ABTI_ythreadABTI_ythread_context_get_ythread (ABTD_ythread_context *p_ctx)
 
static ABT_bool ABTI_ythread_is_dynamic_promoted (ABTI_ythread *p_ythread)
 
static void ABTI_ythread_dynamic_promote_ythread (ABTI_ythread *p_ythread)
 
static ABTI_ythreadABTI_ythread_context_switch_to_sibling_internal (ABTI_xstream **pp_local_xstream, ABTI_ythread *p_old, ABTI_ythread *p_new, ABT_bool is_finish)
 
static ABTI_ythreadABTI_ythread_context_switch_to_parent_internal (ABTI_xstream **pp_local_xstream, ABTI_ythread *p_old, ABT_bool is_finish, ABT_sync_event_type sync_event_type, void *p_sync)
 
static ABTI_ythreadABTI_ythread_context_switch_to_child_internal (ABTI_xstream **pp_local_xstream, ABTI_ythread *p_old, ABTI_ythread *p_new)
 
static ABTI_ythreadABTI_ythread_context_switch_to_sibling (ABTI_xstream **pp_local_xstream, ABTI_ythread *p_old, ABTI_ythread *p_new)
 
static ABTI_ythreadABTI_ythread_context_switch_to_parent (ABTI_xstream **pp_local_xstream, ABTI_ythread *p_old, ABT_sync_event_type sync_event_type, void *p_sync)
 
static ABTI_ythreadABTI_ythread_context_switch_to_child (ABTI_xstream **pp_local_xstream, ABTI_ythread *p_old, ABTI_ythread *p_new)
 
static ABTU_noreturn void ABTI_ythread_finish_context_to_sibling (ABTI_xstream *p_local_xstream, ABTI_ythread *p_old, ABTI_ythread *p_new)
 
static ABTU_noreturn void ABTI_ythread_finish_context_to_parent (ABTI_xstream *p_local_xstream, ABTI_ythread *p_old)
 
static void ABTI_ythread_yield (ABTI_xstream **pp_local_xstream, ABTI_ythread *p_ythread, ABT_sync_event_type sync_event_type, void *p_sync)
 

Function Documentation

◆ ABTI_ythread_context_get_ythread()

static ABTI_ythread* ABTI_ythread_context_get_ythread ( ABTD_ythread_context p_ctx)
inlinestatic

◆ ABTI_ythread_context_switch_to_child()

static ABTI_ythread* ABTI_ythread_context_switch_to_child ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread p_old,
ABTI_ythread p_new 
)
inlinestatic

Definition at line 345 of file abti_ythread.h.

◆ ABTI_ythread_context_switch_to_child_internal()

static ABTI_ythread* ABTI_ythread_context_switch_to_child_internal ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread p_old,
ABTI_ythread p_new 
)
inlinestatic

Definition at line 211 of file abti_ythread.h.

Referenced by ABTI_ythread_context_switch_to_child().

◆ ABTI_ythread_context_switch_to_parent()

static ABTI_ythread* ABTI_ythread_context_switch_to_parent ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread p_old,
ABT_sync_event_type  sync_event_type,
void *  p_sync 
)
inlinestatic

Definition at line 334 of file abti_ythread.h.

Referenced by ABTI_ythread_suspend(), and ABTI_ythread_yield().

◆ ABTI_ythread_context_switch_to_parent_internal()

static ABTI_ythread* ABTI_ythread_context_switch_to_parent_internal ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread p_old,
ABT_bool  is_finish,
ABT_sync_event_type  sync_event_type,
void *  p_sync 
)
inlinestatic

◆ ABTI_ythread_context_switch_to_sibling()

static ABTI_ythread* ABTI_ythread_context_switch_to_sibling ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread p_old,
ABTI_ythread p_new 
)
inlinestatic

Definition at line 326 of file abti_ythread.h.

◆ ABTI_ythread_context_switch_to_sibling_internal()

static ABTI_ythread* ABTI_ythread_context_switch_to_sibling_internal ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread p_old,
ABTI_ythread p_new,
ABT_bool  is_finish 
)
inlinestatic

◆ ABTI_ythread_dynamic_promote_ythread()

static void ABTI_ythread_dynamic_promote_ythread ( ABTI_ythread p_ythread)
inlinestatic

◆ ABTI_ythread_finish_context_to_parent()

static ABTU_noreturn void ABTI_ythread_finish_context_to_parent ( ABTI_xstream p_local_xstream,
ABTI_ythread p_old 
)
inlinestatic

Definition at line 362 of file abti_ythread.h.

Referenced by ythread_terminate().

◆ ABTI_ythread_finish_context_to_sibling()

static ABTU_noreturn void ABTI_ythread_finish_context_to_sibling ( ABTI_xstream p_local_xstream,
ABTI_ythread p_old,
ABTI_ythread p_new 
)
inlinestatic

Definition at line 353 of file abti_ythread.h.

Referenced by ythread_terminate().

◆ ABTI_ythread_get_handle()

static ABT_thread ABTI_ythread_get_handle ( ABTI_ythread p_ythread)
inlinestatic

Definition at line 26 of file abti_ythread.h.

◆ ABTI_ythread_get_ptr()

static ABTI_ythread* ABTI_ythread_get_ptr ( ABT_thread  thread)
inlinestatic

Definition at line 11 of file abti_ythread.h.

◆ ABTI_ythread_is_dynamic_promoted()

static ABT_bool ABTI_ythread_is_dynamic_promoted ( ABTI_ythread p_ythread)
inlinestatic

◆ ABTI_ythread_yield()

static void ABTI_ythread_yield ( ABTI_xstream **  pp_local_xstream,
ABTI_ythread p_ythread,
ABT_sync_event_type  sync_event_type,
void *  p_sync 
)
inlinestatic