Renesas Emulator System M3T-MR100 Instrukcja Użytkownika Strona 56

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 306
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 55
- 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
Przeglądanie stron 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 305 306

Komentarze do niniejszej Instrukcji

Brak uwag