distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
C-API equivalent of distortos::Mutex. More...
#include "distortos/C-API/Mutex.h"
Public Attributes | |
struct estd_IntrusiveListNode | node |
struct estd_IntrusiveList | blockedList |
void * | owner |
uint16_t | recursiveLocksCount |
uint8_t | priorityCeiling |
uint8_t | typeProtocol |
C-API equivalent of distortos::Mutex.
Similar to std::mutex - http://en.cppreference.com/w/cpp/thread/mutex Similar to POSIX pthread_mutex_t - http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09 -> 2.9.3 Thread Mutexes
struct estd_IntrusiveList distortos_Mutex::blockedList |
ThreadControlBlock objects blocked on mutex
struct estd_IntrusiveListNode distortos_Mutex::node |
node for intrusive list
void* distortos_Mutex::owner |
owner of the mutex
uint8_t distortos_Mutex::priorityCeiling |
priority ceiling of mutex, valid only when protocol_ == Protocol::priorityProtect
uint16_t distortos_Mutex::recursiveLocksCount |
number of recursive locks, used when mutex type is recursive
uint8_t distortos_Mutex::typeProtocol |
type of mutex and its protocol