Renesas M3T-MR100 Network Card User Manual


 
- 40 -
Suspend task (sus_tsk, isus_tsk)
Resume suspended task (rsm_tsk, irsm_tsk)
These service calls forcibly keep a task suspended for execution or resume execution of a task. If a suspend re-
quest is issued to a task in READY state, the task is placed into SUSPENDED state; if issued to a task in WAIT
ING state, the task is placed into WAITING-SUSPENDED state. Since MR100 allows only one forcible wait re-
quest to be nested, if sus_tsk is issued to a task in a forcible wait state, the error E_QOVR is returned. (See
Figure 4.7).
READY state
rsm_tsk sus_tsk
0 1 1 0
Number of
suspension
request
Task
sus_tsk
RUNNING
state
SUSPENDED
state
WAITING stateWAITING state
WAITING-
SUSPENDED
state
E_QOVR
Figure 4.7 Forcible wait of a task and resume