Home |
RTKernel-32 Programming Manual Function RTKSetPriority |
Function RTKSetPriorityFunction RTKSetPriority serves to change a task's base priority. void RTKSetPriority(RTKTaskHandle Handle, unsigned Priority); ParametersHandleReferences the task whose priority to change. PriorityThe new base priority of the task. It must be in the range RTK_MIN_PRIO to RTK_MAX_PRIO. After a call to RTKSetPriority, the execution priority of the task is re-evaluated and the scheduler performs a task switch if required.
|