ARGOBOTS  4dc37e16e1b227a480715ab67dae1dcfb4d2d4e0
Macros | Functions
abti_thread.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_THREAD_HANDLE_REQUEST_NONE   ((int)0x0)
 
#define ABTI_THREAD_HANDLE_REQUEST_CANCELLED   ((int)0x1)
 
#define ABTI_THREAD_HANDLE_REQUEST_MIGRATED   ((int)0x2)
 

Functions

static ABTI_threadABTI_thread_get_ptr (ABT_thread thread)
 
static ABT_thread ABTI_thread_get_handle (ABTI_thread *p_thread)
 
static ABT_unit_type ABTI_thread_type_get_type (ABTI_thread_type type)
 
static ABTI_ythreadABTI_thread_get_ythread (ABTI_thread *p_thread)
 
static ABTI_ythreadABTI_thread_get_ythread_or_null (ABTI_thread *p_thread)
 
static void ABTI_thread_set_request (ABTI_thread *p_thread, uint32_t req)
 
static void ABTI_thread_unset_request (ABTI_thread *p_thread, uint32_t req)
 
static int ABTI_thread_handle_request (ABTI_thread *p_thread, ABT_bool allow_termination)
 
static ABTU_ret_err int ABTI_mem_alloc_ythread_mempool_stack (ABTI_xstream *p_local_xstream, ABTI_ythread *p_ythread)
 
static void ABTI_mem_free_ythread_mempool_stack (ABTI_xstream *p_local_xstream, ABTI_ythread *p_ythread)
 
static void ABTI_thread_terminate (ABTI_global *p_global, ABTI_xstream *p_local_xstream, ABTI_thread *p_thread)
 

Macro Definition Documentation

◆ ABTI_THREAD_HANDLE_REQUEST_CANCELLED

#define ABTI_THREAD_HANDLE_REQUEST_CANCELLED   ((int)0x1)

Definition at line 80 of file abti_thread.h.

◆ ABTI_THREAD_HANDLE_REQUEST_MIGRATED

#define ABTI_THREAD_HANDLE_REQUEST_MIGRATED   ((int)0x2)

Definition at line 81 of file abti_thread.h.

◆ ABTI_THREAD_HANDLE_REQUEST_NONE

#define ABTI_THREAD_HANDLE_REQUEST_NONE   ((int)0x0)

Definition at line 79 of file abti_thread.h.

Function Documentation

◆ ABTI_mem_alloc_ythread_mempool_stack()

static ABTU_ret_err int ABTI_mem_alloc_ythread_mempool_stack ( ABTI_xstream p_local_xstream,
ABTI_ythread p_ythread 
)
inlinestatic

◆ ABTI_mem_free_ythread_mempool_stack()

static void ABTI_mem_free_ythread_mempool_stack ( ABTI_xstream p_local_xstream,
ABTI_ythread p_ythread 
)
inlinestatic

Referenced by ABTI_thread_terminate().

◆ ABTI_thread_get_handle()

static ABT_thread ABTI_thread_get_handle ( ABTI_thread p_thread)
inlinestatic

◆ ABTI_thread_get_ptr()

static ABTI_thread* ABTI_thread_get_ptr ( ABT_thread  thread)
inlinestatic

◆ ABTI_thread_get_ythread()

static ABTI_ythread* ABTI_thread_get_ythread ( ABTI_thread p_thread)
inlinestatic

◆ ABTI_thread_get_ythread_or_null()

static ABTI_ythread* ABTI_thread_get_ythread_or_null ( ABTI_thread p_thread)
inlinestatic

◆ ABTI_thread_handle_request()

static int ABTI_thread_handle_request ( ABTI_thread p_thread,
ABT_bool  allow_termination 
)
inlinestatic

◆ ABTI_thread_set_request()

static void ABTI_thread_set_request ( ABTI_thread p_thread,
uint32_t  req 
)
inlinestatic

Definition at line 68 of file abti_thread.h.

Referenced by thread_migrate_to_pool().

◆ ABTI_thread_terminate()

static void ABTI_thread_terminate ( ABTI_global p_global,
ABTI_xstream p_local_xstream,
ABTI_thread p_thread 
)
inlinestatic

◆ ABTI_thread_type_get_type()

static ABT_unit_type ABTI_thread_type_get_type ( ABTI_thread_type  type)
inlinestatic

Definition at line 41 of file abti_thread.h.

Referenced by ABT_self_get_type().

◆ ABTI_thread_unset_request()

static void ABTI_thread_unset_request ( ABTI_thread p_thread,
uint32_t  req 
)
inlinestatic

Definition at line 73 of file abti_thread.h.

Referenced by ABTI_thread_handle_request_migrate().