#include <rmutex.h>
Data Fields | |
| mutex_t | mutex | 
| The mutex used for locking.  More... | |
| uint16_t | refcount | 
| Number of locks owned by the thread owner.  | |
| kernel_pid_t | owner | 
| Owner thread of the mutex.  More... | |
| 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