ThreadListNode class is a base for ThreadControlBlock that provides nodes for intrusive lists.
More...
#include "distortos/internal/scheduler/ThreadListNode.hpp"
ThreadListNode class is a base for ThreadControlBlock that provides nodes for intrusive lists.
This class is needed to break circular dependency - MutexList is contained in ThreadControlBlock and ThreadList is contained in MutexControlBlock.
◆ ThreadListNode()
constexpr distortos::internal::ThreadListNode::ThreadListNode |
( |
const uint8_t |
priority | ) |
|
|
inlineexplicit |
ThreadListNode's constructor.
- Parameters
-
[in] | priority | is the thread's priority, 0 - lowest, UINT8_MAX - highest |
◆ getEffectivePriority()
uint8_t distortos::internal::ThreadListNode::getEffectivePriority |
( |
| ) |
const |
|
inline |
- Returns
- effective priority of thread
◆ getPriority()
uint8_t distortos::internal::ThreadListNode::getPriority |
( |
| ) |
const |
|
inline |
- Returns
- priority of thread
◆ boostedPriority_
uint8_t distortos::internal::ThreadListNode::boostedPriority_ |
|
protected |
thread's boosted priority, 0 - no boosting
◆ priority_
uint8_t distortos::internal::ThreadListNode::priority_ |
|
protected |
thread's priority, 0 - lowest, UINT8_MAX - highest
◆ threadGroupNode
node for intrusive list in thread group
◆ threadListNode
node for intrusive list in thread lists
The documentation for this class was generated from the following file: