typedef struct { unsigned lock_count; CTL_TASK_t *locking_task; unsigned locking_task_priority; } CTL_MUTEX_t;
CTL_MUTEX_t defines the mutex structure. The mutex structure contains:
| Member | Description |
| lock_count | number of times the mutex has been locked |
| locking_task | the task that has locked the mutex |
| locking_task_priority | the priority of the task at the time it locked the mutex |