beautypg.com

Renesas Emulator System M3T-MR100 User Manual

Page 54

background image

- 38 -

1

Task A

Priority

2

Task C

Task F

Task E

Task D

3

n

Task B

Task B

When the priority of task B has been changed from 3 to 1

Figure 4.3 Alteration of task priority

Priority 1

Priority 2

Priority 3

Priority 4

When the priority of Task B is changed into 4

ID Number

taskA

taskB

taskC

taskB

Figure 4.4 Task rearrangement in a waiting queue

Reference task priority (get_pri, iget_pri)

Gets the priority of a task.

Reference task status (simple version) (ref_tst, iref_tst)

Refers to the state of the target task.

Reference task status (ref_tsk, iref_tsk)

Refers to the state of the target task and its priority, etc.