|
int | ABT_task_create (ABT_pool pool, void(*task_func)(void *), void *arg, ABT_task *newtask) |
| Create a new task and return its handle through newtask. More...
|
|
int | ABT_task_create_on_xstream (ABT_xstream xstream, void(*task_func)(void *), void *arg, ABT_task *newtask) |
| Create a new tasklet associated with the target ES (xstream ). More...
|
|
int | ABT_task_revive (ABT_pool pool, void(*task_func)(void *), void *arg, ABT_task *task) |
| Revive the tasklet. More...
|
|
int | ABT_task_free (ABT_task *task) |
| Release the task object associated with task handle. More...
|
|
int | ABT_task_join (ABT_task task) |
| Wait for the tasklet to terminate. More...
|
|
int | ABT_task_cancel (ABT_task task) |
| Request the cancellation of the target task. More...
|
|
int | ABT_task_self (ABT_task *task) |
| Return the handle of the calling tasklet. More...
|
|
int | ABT_task_self_id (uint64_t *id) |
| Return the ID of the calling tasklet. More...
|
|
int | ABT_task_get_xstream (ABT_task task, ABT_xstream *xstream) |
| Get the ES associated with the target tasklet. More...
|
|
int | ABT_task_get_state (ABT_task task, ABT_task_state *state) |
| Return the state of task. More...
|
|
int | ABT_task_get_last_pool (ABT_task task, ABT_pool *pool) |
| Return the last pool of task. More...
|
|
int | ABT_task_get_last_pool_id (ABT_task task, int *id) |
| Get the last pool's ID of the tasklet. More...
|
|
int | ABT_task_set_migratable (ABT_task task, ABT_bool flag) |
| Set the tasklet's migratability. More...
|
|
int | ABT_task_is_migratable (ABT_task task, ABT_bool *flag) |
| Get the tasklet's migratability. More...
|
|
int | ABT_task_equal (ABT_task task1, ABT_task task2, ABT_bool *result) |
| Compare two tasklet handles for equality. More...
|
|
int | ABT_task_get_id (ABT_task task, uint64_t *task_id) |
| Get the tasklet's id. More...
|
|
int | ABT_task_get_arg (ABT_task task, void **arg) |
| Retrieve the argument for the tasklet function. More...
|
|