-
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);
These service calls move the 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 RI600PX.
At this time, processing described in
Table 19-3 is done.
These service calls do 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.
The
stacd is passed to the target task.
|
|
|
|
|
|
|
|
|
|
|
- This service call was issued in the CPU locked state.
- The ista_tsk was issued from task.
- The sta_tsk was issued from non-task.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
|
|
|
Memory access violation. (only for sta_tsk)
- Stack pointer points out of user stack for invoking task.
|
|
|
- Specified task is not in the DORMANT state.
|
|
|
- The task specified by tskid does not exist.
|