-
rsm_tsk
irsm_tsk
-
ER rsm_tsk (ID tskid);
ER irsm_tsk (ID tskid);
|
|
|
|
ID tskid;
|
ID number of the task to be resumed.
|
This service call subtracts 0x1 from the suspend request counter for the task specified by parameter
tskid, and then cancels the SUSPENDED state of the target task.
As a result, the target task is moved from the SUSPENDED state to the READY state, or from the WAITING-SUSPENDED state to the WAITING state.
If a suspend request is queued (subtraction result is other than 0x0) when this service call is issued, the counter manipulation processing is not performed but only the suspend request counter decrement processing is executed.
Note This service call does not perform queuing of cancellation requests. If the target task is in a state other than the SUSPENDED or WAITING-SUSPENDED state, "E_OBJ" is therefore returned.
|
|
|
|
|
|
|
|
- tskid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified task is neither in the SUSPENDED state nor WAITING-SUSPENDED state.
|
|
|
- Specified task is not registered.
|