Renesas M3T-MR100 Manual de usuario Pagina 54

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 53
- 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
Vista de pagina 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 303 304

Comentarios a estos manuales

Sin comentarios