-
can_act
ican_act
-
Cancel task activation requests.
ER_UINT can_act (ID tskid);
ER_UINT ican_act (ID tskid);
|
|
|
|
ID tskid;
|
ID number of the task for cancelling activation requests.
Value: ID number of the task for cancelling activation requests.
|
This service call cancels all of the activation requests queued to the task specified by parameter
tskid (sets the activation request counter to 0x0).
When this service call is terminated normally, the number of cancelled activation requests is returned.
Note This service call does not perform status manipulation processing but performs the setting of activation request counter. Therefore, the task does not move from a state such as the READY state to the DORMANT state.
|
|
|
|
|
- tskid > Maximum ID number
- When this service call was issued from a non-task, TSK_SELF was specified tskid.
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified task is not registered.
|
|
|
Normal completion (activation request count).
|