-
can_act
ican_act
-
Cancel task activation requests.
ER_UINT can_act (ID tskid);
ER_UINT ican_act (ID tskid);
|
|
|
|
ID tskid;
|
Value: ID number of the task.
|
This service call cancels all of the activation requests queued to the task specified by parameter
tskid (sets the activation request counter to 0).
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.
|
|
|
|
|
Normal completion (activation request count).
|
|
|
- Activation request count is 0.
- Specified task is in the DORMANT state.
|
|
|
- When the iact_tsk was issued from a non-task, TSK_SELF was specified for tskid.
|
|
|
- This service call was issued in the CPU locked state.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
Note When the ican_act is issued from task or the can_act is issued from non-task, the context error is not detected and normal operation of the system is not guaranteed.
|
|
|
- The task specified by tskid does not exist.
|