Everything

[Mutex] tab

This tab displays the mutex information (e.g. Mutex Name and ID) of the RI850V4.
Figure A-17. [Mutex] Tab
The following items are explained here.
[How to open]
- From the [Debug] menu, select [Download].
- From the [View] menu, select [Realtime OS] >> [Resource Information].
[Description of each area]
(1) Information display area
(a) First layer
This layer displays the mutex information (e.g. Mutex Name and ID) of the RI850V4.
This layer consists of the following items.
Mutex Name
An icon indicating the current status of the mutex and the name of the mutex are shown in the following format.
Icon Name
Note that if the name of the mutex is undefined, the name will appear as "ID".
The task is locking the mutex (waiting tasks).
The task is locking the mutex (no waiting tasks).
There are no waiting tasks.
ID
The ID of the mutex is shown.
Queue Status
The current status of the mutex is shown.
Waiting Tasks
There are waiting tasks.
Empty
There are no waiting tasks.
Locking Task ID
The ID of the locking task is shown.
Attribute
The task queuing method is shown.
TA_TFIFO
FIFO order
TA_TPRI
Task priority order
Ceiling Priority
"--" is shown.

(b) Second layer
The waiting task information (e.g. Task Name and ID) only appears if there are tasks queued in the mutex's wait queue.
See the [Task] tab for details about waiting task information.
Figure A-18. [Mutex] Tab (Waiting Task Information)
Remarks 1. Double-clicking a waiting-task information cell (e.g., Object Name or ID) displays the source file of the task in the Editor panel and moves the caret to the relevant location.
2. Double-clicking the waiting-task information cell for Current Task Stack SP or Task Stack Area displays the contents of the task stack in the Memory panel and moves the caret to the relevant location.
[Context menu]
The context menu displayed in response to a right mouse click differs as follows depending on the area clicked.
(1) Header row
Display
Displays cascade menus for selecting the header items to display.
Selected item name
The following items are displayed for selection.
Muxtex Name, ID, Queue Status, Locking Task ID, Attribute, Ceiling Priority
Checked
The item in question will be displayed.
Not checked
The item in question will not be displayed.
Notation
Displays cascade menus for selecting the display notation.
Selected item name
The following items are displayed for selection.
ID, Locking Task ID, Ceiling Priority
DEC
Displays value in signed decimal number.
HEX
Displays value in hexadecimal number.

(2) Footer row
Service Call
Displays the types of service calls that can be issued.
Note that if a service call is not embedded in (linked to) the downloaded program, or the necessary conditions for executing the service-call process are not met, then the service call will be grayed out.
unl_mtx
Unlock mutex.
Reset Display Item
Resets the display item (e.g. whether or not to display header items, display notation, display order and display width).