xentara-utils v2.0.4
The Xentara Utility Library
|
This class sets the scheduling priority of the calling thread to the maximum real-time priority for the duration of its lifetime. More...
#include <xentara/utils/realTime/BlockSignalsGuard.hpp>
Public Member Functions | |
BlockSignalsGuard () | |
Constructor. | |
~BlockSignalsGuard () | |
Destructor. | |
This class sets the scheduling priority of the calling thread to the maximum real-time priority for the duration of its lifetime.
xentara::utils::realTime::BlockSignalsGuard::BlockSignalsGuard | ( | ) |
Constructor.
The constructor blocks all signals for the current thread.
xentara::utils::realTime::BlockSignalsGuard::~BlockSignalsGuard | ( | ) |
Destructor.
The destructor resets the signal mask to what it was before the constructor was called.