ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Functions
self.c File Reference
#include "abti.h"
Include dependency graph for self.c:

Go to the source code of this file.

Functions

int ABT_self_get_xstream (ABT_xstream *xstream)
 Get an execution stream that is running the calling work unit. More...
 
int ABT_self_get_xstream_rank (int *rank)
 Return a rank of an execution stream that is running the calling work unit. More...
 
int ABT_self_get_thread (ABT_thread *thread)
 Get the calling work unit. More...
 
int ABT_self_get_thread_id (ABT_unit_id *id)
 Get ID of the calling work unit. More...
 
int ABT_self_get_task (ABT_thread *thread)
 Get the calling work unit. More...
 
int ABT_self_get_task_id (ABT_unit_id *id)
 Get ID of the calling work unit. More...
 
int ABT_self_set_specific (ABT_key key, void *value)
 Associate a value with a work-unit-specific data key in the calling work unit. More...
 
int ABT_self_get_specific (ABT_key key, void **value)
 Get a value associated with a work-unit-specific data key in the calling work unit. More...
 
int ABT_self_get_type (ABT_unit_type *type)
 Obtain a type of the caller. More...
 
int ABT_self_is_primary (ABT_bool *is_primary)
 Check if the caller is the primary ULT. More...
 
int ABT_self_on_primary_xstream (ABT_bool *on_primary)
 Check if the caller is running on the primary execution stream. More...
 
int ABT_self_get_last_pool (ABT_pool *pool)
 Get the last pool of the calling work unit. More...
 
int ABT_self_get_last_pool_id (int *pool_id)
 Get ID of the last pool of the calling work unit. More...
 
int ABT_self_set_associated_pool (ABT_pool pool)
 Set an associated pool for the calling work unit. More...
 
int ABT_self_get_unit (ABT_unit *unit)
 Get a unit handle of the calling work unit. More...
 
int ABT_self_yield (void)
 Yield the calling ULT to its parent ULT. More...
 
int ABT_self_yield_to (ABT_thread thread)
 Yield the calling ULT to another ULT. More...
 
int ABT_self_resume_yield_to (ABT_thread thread)
 Yield the calling ULT to another suspended ULT. More...
 
int ABT_self_suspend (void)
 Suspend the calling ULT. More...
 
int ABT_self_suspend_to (ABT_thread thread)
 Suspend the calling ULT and jump to another ULT. More...
 
int ABT_self_resume_suspend_to (ABT_thread thread)
 Suspend the calling ULT and jump to another suspended ULT. More...
 
int ABT_self_exit (void)
 Terminate a calling ULT. More...
 
int ABT_self_exit_to (ABT_thread thread)
 Terminate the calling ULT and jump to another ULT. More...
 
int ABT_self_resume_exit_to (ABT_thread thread)
 Terminate the calling ULT and jump to another suspended ULT. More...
 
int ABT_self_schedule (ABT_thread thread, ABT_pool pool)
 Execute a work unit on the calling ULT. More...
 
int ABT_self_set_arg (void *arg)
 Set an argument for a work-unit function of the calling work unit. More...
 
int ABT_self_get_arg (void **arg)
 Retrieve an argument for a work-unit function of the calling work unit. More...
 
int ABT_self_get_thread_func (void(**thread_func)(void *))
 Retrieve a work-unit function of the calling work unit. More...
 
int ABT_self_is_unnamed (ABT_bool *is_unnamed)
 Check if the calling work unit is unnamed. More...