PriorityInheritanceMutexControlBlockUnblockFunctor is a functor executed when unblocking a thread that is blocked on a mutex with priorityInheritance protocol
◆ PriorityInheritanceMutexControlBlockUnblockFunctor()
constexpr distortos::internal::anonymous_namespace{MutexControlBlock.cpp}::PriorityInheritanceMutexControlBlockUnblockFunctor::PriorityInheritanceMutexControlBlockUnblockFunctor |
( |
const MutexControlBlock & |
mutexControlBlock | ) |
|
|
inlineexplicit |
◆ operator()()
void distortos::internal::anonymous_namespace{MutexControlBlock.cpp}::PriorityInheritanceMutexControlBlockUnblockFunctor::operator() |
( |
ThreadControlBlock & |
threadControlBlock, |
|
|
const UnblockReason |
unblockReason |
|
) |
| const |
|
inlineoverride |
PriorityInheritanceMutexControlBlockUnblockFunctor's function call operator.
If the wait for mutex was interrupted, requests update of boosted priority of current owner of the mutex. Pointer to MutexControlBlock with priorityInheritance protocol which caused the thread to block is reset to nullptr.
- Parameters
-
[in] | threadControlBlock | is a reference to ThreadControlBlock that is being unblocked |
[in] | unblockReason | is the reason of thread unblocking |
◆ mutexControlBlock_
const MutexControlBlock& distortos::internal::anonymous_namespace{MutexControlBlock.cpp}::PriorityInheritanceMutexControlBlockUnblockFunctor::mutexControlBlock_ |
|
private |
The documentation for this class was generated from the following file: