Renesas M3T-MR100 Manual do Utilizador Página 54

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 303 304

Comentários a estes Manuais

Sem comentários