-
sta_tsk
ista_tsk
-
Activate task (does not queue an activation request).
ER sta_tsk (ID tskid, VP_INT stacd);
ER ista_tsk (ID tskid, VP_INT stacd);
|
|
|
|
ID tskid;
|
ID number of the task to be activated.
|
|
VP_INT stacd;
|
Start code (extended information) of the task.
|
These service calls move a task specified by parameter
tskid from the DORMANT state to the READY state.
As a result, the target task is queued at the end on the ready queue corresponding to the initial priority and becomes subject to scheduling by the RI850V4.
This service call does not perform queuing of activation requests. If the target task is in a state other than the DORMANT state, the status manipulation processing for the target task is therefore not performed but "E_OBJ" is returned
Specify for parameter
stacd the extended information transferred to the target task.
|
|
|
|
|
|
|
|
- tskid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified task is not in the DORMANT state.
|
|
|
- Specified task is not registered.
|