Function mrpt::system::changeCurrentThreadPriority
Defined in File scheduler.h
Function Documentation
-
void mrpt::system::changeCurrentThreadPriority(TThreadPriority priority)
Change the priority of the current thread - for Windows, see also changeCurrentProcessPriority()
Windows: This is equivalent to SetThreadPriority() (read the docs there)
Linux (pthreads): May require
rootpermissions! This sets the Round Robin scheduler with the given priority level. Read sched_setscheduler.See also
createThread, changeCurrentProcessPriority, changeCurrentThreadPriority