-
Notifications
You must be signed in to change notification settings - Fork 52
Work Unit
Sangmin Seo edited this page Mar 2, 2017
·
1 revision
This group is for work units.
int ABT_unit_set_associated_pool(ABT_unit unit, ABT_pool pool)
- Set the associated pool for the target work unit.
- Parameters
- [in]
unit
: handle to the work unit - [in]
pool
: handle to the pool
- [in]
- Return values
- On success,
ABT_SUCCESS
is returned. - On error, a non-zero error code is returned.
- On success,
- Details
-
ABT_unit_set_associated_pool()
changes the associated pool of the target work unitunit
, such as ULT or tasklet, topool
. This function must be called afterunit
is popped from its original associated pool (i.e.,unit
must not be inside any pool), which is the pool whereunit
was residing in.
-