|
| static ABTU_ret_err int | task_create (ABTI_global *p_global, ABTI_local *p_local, ABTI_pool *p_pool, void(*task_func)(void *), void *arg, ABTI_sched *p_sched, int refcount, ABTI_thread **pp_newtask) |
| |
| int | ABT_task_create (ABT_pool pool, void(*task_func)(void *), void *arg, ABT_task *newtask) |
| | Create a new tasklet. 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 an execution stream. More...
|
| |
| int | ABT_task_revive (ABT_pool pool, void(*task_func)(void *), void *arg, ABT_task *task) |
| | Revive a terminated work unit. More...
|
| |
| int | ABT_task_free (ABT_task *task) |
| | Free a work unit. More...
|
| |
| int | ABT_task_join (ABT_task task) |
| | Wait for a work unit to terminate. More...
|
| |
| int | ABT_task_cancel (ABT_task task) |
| | Send a termination request to a work unit. More...
|
| |
| int | ABT_task_self (ABT_task *task) |
| | Get the calling work unit. More...
|
| |
| int | ABT_task_self_id (ABT_unit_id *id) |
| | Get ID of the calling work unit. More...
|
| |
| int | ABT_task_get_xstream (ABT_task task, ABT_xstream *xstream) |
| | Get an execution stream associated with a work unit. More...
|
| |
| int | ABT_task_get_state (ABT_task task, ABT_task_state *state) |
| | Get a state of a tasklet. More...
|
| |
| int | ABT_task_get_last_pool (ABT_task task, ABT_pool *pool) |
| | Get the last pool of a work unit. More...
|
| |
| int | ABT_task_get_last_pool_id (ABT_task task, int *id) |
| | Get the last pool's ID of a work unit. More...
|
| |
| int | ABT_task_set_migratable (ABT_task task, ABT_bool flag) |
| | Set the migratability in a work unit. More...
|
| |
| int | ABT_task_is_migratable (ABT_task task, ABT_bool *flag) |
| | Get the migratability of a work unit. More...
|
| |
| int | ABT_task_is_unnamed (ABT_task task, ABT_bool *flag) |
| | Check if a work unit is unnamed. More...
|
| |
| int | ABT_task_equal (ABT_task task1, ABT_task task2, ABT_bool *result) |
| | Compare two work-unit handles for equality. More...
|
| |
| int | ABT_task_get_id (ABT_task task, ABT_unit_id *task_id) |
| | Get ID of a work unit. More...
|
| |
| int | ABT_task_get_arg (ABT_task task, void **arg) |
| | Retrieve an argument for a work-unit function of a work unit. More...
|
| |
| int | ABT_task_set_specific (ABT_task task, ABT_key key, void *value) |
| | Set a value with a work-unit-specific key in a work unit. More...
|
| |
| int | ABT_task_get_specific (ABT_task task, ABT_key key, void **value) |
| | Get a value associated with a work-unit-specific key in a work unit. More...
|
| |