ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Macros | Functions
abti_unit.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ABTI_UNIT_BUILTIN_POOL_BIT   ((uintptr_t)0x1)
 

Functions

static ABT_bool ABTI_unit_is_builtin (ABT_unit unit)
 
static ABT_unit ABTI_unit_get_builtin_unit (ABTI_thread *p_thread)
 
static void ABTI_unit_init_builtin (ABTI_thread *p_thread)
 
static ABTI_threadABTI_unit_get_thread_from_builtin_unit (ABT_unit unit)
 
static ABTI_threadABTI_unit_get_thread (ABTI_global *p_global, ABT_unit unit)
 
static ABTU_ret_err int ABTI_unit_set_associated_pool (ABTI_global *p_global, ABT_unit unit, ABTI_pool *p_pool, ABTI_thread **pp_thread)
 
static ABTU_ret_err int ABTI_thread_init_pool (ABTI_global *p_global, ABTI_thread *p_thread, ABTI_pool *p_pool)
 
static ABTU_ret_err int ABTI_thread_set_associated_pool (ABTI_global *p_global, ABTI_thread *p_thread, ABTI_pool *p_pool)
 
static void ABTI_thread_unset_associated_pool (ABTI_global *p_global, ABTI_thread *p_thread)
 

Macro Definition Documentation

◆ ABTI_UNIT_BUILTIN_POOL_BIT

#define ABTI_UNIT_BUILTIN_POOL_BIT   ((uintptr_t)0x1)

Definition at line 10 of file abti_unit.h.

Function Documentation

◆ ABTI_thread_init_pool()

static ABTU_ret_err int ABTI_thread_init_pool ( ABTI_global p_global,
ABTI_thread p_thread,
ABTI_pool p_pool 
)
inlinestatic

Definition at line 128 of file abti_unit.h.

Referenced by task_create(), and ythread_create().

◆ ABTI_thread_set_associated_pool()

static ABTU_ret_err int ABTI_thread_set_associated_pool ( ABTI_global p_global,
ABTI_thread p_thread,
ABTI_pool p_pool 
)
inlinestatic

◆ ABTI_thread_unset_associated_pool()

static void ABTI_thread_unset_associated_pool ( ABTI_global p_global,
ABTI_thread p_thread 
)
inlinestatic

Definition at line 214 of file abti_unit.h.

Referenced by ABTI_ythread_callback_orphan(), and thread_free().

◆ ABTI_unit_get_builtin_unit()

static ABT_unit ABTI_unit_get_builtin_unit ( ABTI_thread p_thread)
inlinestatic

Definition at line 23 of file abti_unit.h.

Referenced by ABTI_unit_init_builtin(), and pool_pop_timedwait().

◆ ABTI_unit_get_thread()

static ABTI_thread* ABTI_unit_get_thread ( ABTI_global p_global,
ABT_unit  unit 
)
inlinestatic

◆ ABTI_unit_get_thread_from_builtin_unit()

static ABTI_thread* ABTI_unit_get_thread_from_builtin_unit ( ABT_unit  unit)
inlinestatic

◆ ABTI_unit_init_builtin()

static void ABTI_unit_init_builtin ( ABTI_thread p_thread)
inlinestatic

◆ ABTI_unit_is_builtin()

static ABT_bool ABTI_unit_is_builtin ( ABT_unit  unit)
inlinestatic

◆ ABTI_unit_set_associated_pool()

static ABTU_ret_err int ABTI_unit_set_associated_pool ( ABTI_global p_global,
ABT_unit  unit,
ABTI_pool p_pool,
ABTI_thread **  pp_thread 
)
inlinestatic

Definition at line 55 of file abti_unit.h.

Referenced by ABT_pool_push().