Renesas M3T-MR100 Manuale Utente Pagina 40

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 304
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 39
- 26 -
3.4.3 Task Priority and Waiting Queue
In The standard profiles in µITRON 4.0 Specification support two waiting methods for each object. In one method, tasks
are placed in a waiting queue in order of priority (TA_TPRI attribute); in another, tasks are placed in a waiting queue in
order of FIFO (TA_TFIFO).
Figure 3.18 and Figure 3.19 depict the manner in which tasks are placed in a
waiting queue in order of "taskD," "taskC,"
"taskA," and "taskB."
n
Priority 1 Priority 5 Priority 6
taskB
1
ID No.
2
taskA taskC taskD
Priority 9
Figure 3.18 Waiting queue of the TA_TPRI attribute
n
Priority 9 Priority 6 Priority 1
taskC
1
ID No.
2
taskD taskA taskB
Priority 5
Figure 3.19 Waiting queue of the TA_TFIFO attribute
Vedere la pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 303 304

Commenti su questo manuale

Nessun commento