SatDump 2.0.0-alpha-76a915210
|
Functions to set thread priority. More...
#include <thread>
Go to the source code of this file.
Enumerations | |
enum | thread_priority_t { PRIORITY_LOWEST = 1 , PRIORITY_LOW = 24 , PRIORITY_NORMAL = 50 , PRIORITY_HIGH = 74 , PRIORITY_HIGHEST = 99 } |
Functions | |
void | satdump::setThreadPriority (std::thread &th, thread_priority_t priority) |
Set specified thread priority on the specified thread. | |
void | satdump::setLowestThreadPriority (std::thread &th) |
Set lowest possible thread priority on the specified thread. | |
void | satdump::setLowestThreadPriority () |
Set lowest possible thread priority on the current thread. |
Functions to set thread priority.
void satdump::setLowestThreadPriority | ( | std::thread & | th | ) |
Set lowest possible thread priority on the specified thread.
th | the thread to apply to |
void satdump::setThreadPriority | ( | std::thread & | th, |
thread_priority_t | priority ) |
Set specified thread priority on the specified thread.
th | the thread to apply to |
priority | priority to set |