Function mrpt::system::changeCurrentProcessPriority
Defined in File scheduler.h
Function Documentation
-
void mrpt::system::changeCurrentProcessPriority(TProcessPriority priority)
Change the priority of the given process (it applies to all the threads, plus independent modifiers for each thread).
Windows: See SetPriorityClass
Linux (pthreads): Requires
rootpermissions to increase process priority! Internally it calls nice(), so it has no effect if () was called and a SCHED_RR is already active.See also
createThread, changeThreadPriority