ARGOBOTS  1.1
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 122 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

Definition at line 147 of file abti_unit.h.

Referenced by ABT_self_set_associated_pool(), and ABTI_thread_revive().

◆ ABTI_thread_unset_associated_pool()

static void ABTI_thread_unset_associated_pool ( ABTI_global p_global,
ABTI_thread p_thread 
)
inlinestatic

Definition at line 200 of file abti_unit.h.

Referenced by thread_free().

◆ ABTI_unit_get_builtin_unit()

static ABT_unit ABTI_unit_get_builtin_unit ( ABTI_thread p_thread)
inlinestatic

◆ ABTI_unit_get_thread()

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

Definition at line 43 of file abti_unit.h.

Referenced by ABT_unit_get_thread(), and sched_run().

◆ 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().