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/RealTimePriorityGuard.hpp>
Public Member Functions | |
RealTimePriorityGuard () | |
Constructor. | |
~RealTimePriorityGuard () | |
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::RealTimePriorityGuard::RealTimePriorityGuard | ( | ) |
Constructor.
The constructor sets the priority of the calling thread to the highest allowable real-time priority.
xentara::utils::realTime::RealTimePriorityGuard::~RealTimePriorityGuard | ( | ) |
Destructor.
The destructor resets the priority of the calling thread to the value it had before the constructor was called.