ARGOBOTS
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_type (ABT_unit_type *type)
 Return the type of calling work unit. More...
 
int ABT_self_is_primary (ABT_bool *flag)
 Check if the caller is the primary ULT. More...
 
int ABT_self_on_primary_xstream (ABT_bool *flag)
 Check if the caller's ES is the primary ES. More...
 
int ABT_self_get_last_pool_id (int *pool_id)
 Get the last pool's ID of calling work unit. More...
 
int ABT_self_suspend (void)
 Suspend the current ULT. More...
 
int ABT_self_set_arg (void *arg)
 Set the argument for the work unit function. More...
 
int ABT_self_get_arg (void **arg)
 Retrieve the argument for the work unit function. More...