#include <mutex.h>
Data Fields | |
| list_node_t | queue |
| The process waiting queue of the mutex. More... | |
| kernel_pid_t | owner |
The current owner of the mutex or NULL More... | |
| uinttxtptr_t | owner_calling_pc |
| Program counter of the call to mutex_lock that most recently acquired this mutex. More... | |
| uint8_t | owner_original_priority |
| Original priority of the owner. More... | |
| kernel_pid_t mutex_t::owner |
The current owner of the mutex or NULL
If either the mutex is not locked or the mutex is not locked by a thread (e.g. because it is used to synchronize a thread with an ISR completion), this will have the value of NULL.
| uinttxtptr_t mutex_t::owner_calling_pc |
Program counter of the call to mutex_lock that most recently acquired this mutex.
This is used when the module core_mutex_debug is used to debug deadlocks and is non-existing otherwise
| uint8_t mutex_t::owner_original_priority |
| list_node_t mutex_t::queue |