distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
Signals-related functions operating on current thread. More...
Functions | |
int | generateSignal (uint8_t signalNumber) |
Generates signal for current thread. More... | |
SignalSet | getPendingSignalSet () |
Gets set of currently pending signals for current thread. More... | |
std::pair< int, SignalAction > | getSignalAction (uint8_t signalNumber) |
Gets SignalAction associated with given signal number. More... | |
SignalSet | getSignalMask () |
Gets signal mask for current thread. More... | |
int | queueSignal (uint8_t signalNumber, sigval value) |
Queues signal for current thread. More... | |
std::pair< int, SignalAction > | setSignalAction (uint8_t signalNumber, const SignalAction &signalAction) |
Sets association for given signal number. More... | |
int | setSignalMask (SignalSet signalMask) |
Sets signal mask for current thread. More... | |
std::pair< int, SignalInformation > | tryWait (const SignalSet &signalSet) |
Tries to accept pending signals. More... | |
std::pair< int, SignalInformation > | tryWaitFor (const SignalSet &signalSet, TickClock::duration duration) |
Tries to wait for signals for given duration of time. More... | |
std::pair< int, SignalInformation > | tryWaitUntil (const SignalSet &signalSet, TickClock::time_point timePoint) |
Tries to wait for signals until given time point. More... | |
std::pair< int, SignalInformation > | wait (const SignalSet &signalSet) |
Waits for signals. More... | |
template<typename Rep , typename Period > | |
std::pair< int, SignalInformation > | tryWaitFor (const SignalSet &signalSet, const std::chrono::duration< Rep, Period > duration) |
Tries to wait for signals for given duration of time. More... | |
template<typename Duration > | |
std::pair< int, SignalInformation > | tryWaitUntil (const SignalSet &signalSet, const std::chrono::time_point< TickClock, Duration > timePoint) |
Tries to wait for signals until given time point. More... | |
Signals-related functions operating on current thread.