distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
Functions | |
std::pair< int, SignalInformation > | acceptPendingUnblockedSignal (SignalsReceiverControlBlock &signalsReceiverControlBlock, const SignalSet signalMask) |
Accepts first pending and unblocked signal. More... | |
SignalsCatcherControlBlock::Association * | findAssociation (SignalsCatcherControlBlock::Association *const begin, SignalsCatcherControlBlock::Association *const end, const uint8_t signalNumber) |
Tries to find SignalsCatcherControlBlock::Association for given signal number in given range. More... | |
SignalsCatcherControlBlock::Association * | findAssociation (SignalsCatcherControlBlock::Association *const begin, SignalsCatcherControlBlock::Association *const end, const SignalAction &signalAction) |
Tries to find SignalsCatcherControlBlock::Association for given SignalAction in given range. More... | |
void | deliverSignals () |
Delivers all unmasked signals that are pending/queued for current thread. More... | |
std::pair<int, SignalInformation> distortos::internal::anonymous_namespace{SignalsCatcherControlBlock.cpp}::acceptPendingUnblockedSignal | ( | SignalsReceiverControlBlock & | signalsReceiverControlBlock, |
const SignalSet | signalMask | ||
) |
Accepts first pending and unblocked signal.
[in] | signalsReceiverControlBlock | is a reference to SignalsReceiverControlBlock associated with current thread |
[in] | signalMask | is the signal mask of current thread |
void distortos::internal::anonymous_namespace{SignalsCatcherControlBlock.cpp}::deliverSignals | ( | ) |
Delivers all unmasked signals that are pending/queued for current thread.
SignalsCatcherControlBlock::Association* distortos::internal::anonymous_namespace{SignalsCatcherControlBlock.cpp}::findAssociation | ( | SignalsCatcherControlBlock::Association *const | begin, |
SignalsCatcherControlBlock::Association *const | end, | ||
const uint8_t | signalNumber | ||
) |
Tries to find SignalsCatcherControlBlock::Association for given signal number in given range.
[in] | begin | is a pointer to first element of range of SignalsCatcherControlBlock::Association objects |
[in] | end | is a pointer to "one past the last" element of range of SignalsCatcherControlBlock::Association objects |
[in] | signalNumber | is the signal for which the association will be searched |
SignalsCatcherControlBlock::Association* distortos::internal::anonymous_namespace{SignalsCatcherControlBlock.cpp}::findAssociation | ( | SignalsCatcherControlBlock::Association *const | begin, |
SignalsCatcherControlBlock::Association *const | end, | ||
const SignalAction & | signalAction | ||
) |
Tries to find SignalsCatcherControlBlock::Association for given SignalAction in given range.
[in] | begin | is a pointer to first element of range of SignalsCatcherControlBlock::Association objects |
[in] | end | is a pointer to "one past the last" element of range of SignalsCatcherControlBlock::Association objects |
[in] | signalAction | is a reference to SignalAction object for which the association will be searched |