This method sets the priority for the task.
RiCOSResult RiCOSTask_setPriority (RiCOSTask *const me,
int pr);
me
The RiCOSTask object.
pr
The integer value of the priority. This parameter varies by operating system.
The RiCOSResult object, as defined in the RiCOS*.h files
RiCOSResult RiCOSTask_setPriority(
RiCOSTask * const me, int pr)
{
if (me == NULL) {return 0;}
taskPrioritySet(me->hThread, pr);
return 1;
}