Mutex
The MQX Mutex List view displays detailed information about all available tasks parameters. Each row with the same color, represents one mutex with multiple parameters.
The functionality of each listed synchronization object parameter is described inside the following table:
Parameter name |
Description |
---|---|
Mutex |
Pointer to mutex structure |
Valid |
Is mutex component valid. |
Wait protocol |
Waiting protocol |
Scheduling protocol |
Scheduling protocol |
Priority |
Priority of the mutex. If the scheduling protocol is priority protect, MQX grants the mutex only to tasks with at least this priority. |
Count |
Maximum number of spins. The field is used only if the waiting protocol is limited spin. |
Lock |
Is mutex locked. |
Owner |
Pointer to the root function for the task that has locked the mutex. |
Waiting tasks |
Queue of tasks that are waiting to lock the mutex. If PRIORITY_INHERITANCE is set, the queue is in priority order; otherwise, it is in FIFO order. |