#include <rmutex.h>
Data Fields | |
mutex_t | mutex |
The mutex used for locking. | |
uint16_t | refcount |
Number of locks owned by the thread owner. | |
kernel_pid_t | owner |
Owner thread of the mutex. | |
mutex_t rmutex_t::mutex |
kernel_pid_t rmutex_t::owner |
Owner thread of the mutex.
Owner is written by the mutex holder, and read concurrently to ensure consistency, atomic_int_least16_t is used. Note kernel_pid_t is an int16
uint16_t rmutex_t::refcount |