- 24 -
tasks in the RUNNING, READY, or WAITING state.
If the suspend request is made to a task in the SUS-
PENDED state, an error code is returned.
5. WAITING-SUSPENDED
If a suspend request is issued to a task currently in a WAITING state, the task goes to a WAITING-SUSPENDED
state. If a suspend request is issued to a task that has been placed into a WAITING state for a wait request by the
slp_tsk, wai_flg, wai_sem, rcv_mbx, snd_dtq, rcv_dtq, vsnd_dtq, vrcv_dtq, get_mpf, tslp_tsk, twai_flg, twai_sem,
trcv_mbx, tsnd_dtq, trcv_dtq, vtsnd_dtq, vtrcv_dtq or tget_mpf service call, the task goes to a WAIT-
ING-SUSPENDED state.
When the wait condition for a task in the WAITING-SUSPENDED state is cleared, that task goes into the SUS-
PENDED state. It is conceivable that the wait condition may be cleared, when any of the following conditions
occurs.
♦
The task wakes up upon wup_tsk, or iwup_tsk service call issuance.
♦
The task placed in the WAITING state by the dly_tsk or tslp_tsk service call wakes up after the
specified time elapse.
♦
The request of the task placed in the WAITING state by the wai_flg , wai_sem, rcv_mbx, snd_dtq,
rcv_dtq, vsnd_dtq, vrcv_dtq, get_mpf, tslp_tsk, twai_flg, twai_sem, trcv_mbx, tsnd_dtq, trcv_dtq,
vtsnd_dtq, vtrcv_dtq or tget_mpf service call is fulfilled.
♦
The WAITING state is forcibly cleared by the rel_wai or irel_wai service call
When the SUSPENDED state clear request by rsm_tsk or irsm_tsk is made to a task in the WAIT-
ING-SUSPENDED state, that task goes into the WAITING state. Since a task in the SUSPENDED state cannot
request to be placed in the WAITING state, status change from SUSPENDED to WAITING-SUSPENDED does
not possibly occur.
6. DORMANT
This state refers to the condition in which a task is registered in the MR100 system but not activated. This task
state prevails when either of the following two conditions occurs.
♦
The task is waiting to be activated.
♦
The task is normally terminated by ext_tsk service call or forcibly terminated by ter_tsk service
call.
12
If a forcible wait request is issued to a task currently in a wait state, the task goes to a WAITING-SUSPENDED state.
Содержание Emulator System M3T-MR100
Страница 3: ...M3T MR100 4 V 1 00 User s Manual User s Manual Rev 1 00 2007 09 Real time OS for R32C 100 Series...
Страница 6: ......
Страница 14: ......
Страница 16: ...xii...
Страница 18: ......
Страница 78: ......
Страница 242: ......
Страница 269: ...253 235 entry_address alm2 236 name ID_alm2 237 exinf 0x12345678 238 239 240 241 242 End of Configuration 243...
Страница 279: ...263...
Страница 290: ......
Страница 294: ......
Страница 304: ...288...
Страница 306: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M3T MR100 4 V 1 00 REJ10J1523 0100 User s Manual...