os_sched_resort

void os_sched_resort(struct os_task *t)

Inform scheduler that the priority of the task t has changed (e.g. in order to avoid priority inversion), and the ready to run list should be re-sorted.

Arguments

ArgumentsDescription
tPointer to a task whose priority has changed

Returned values

N/A

Notes

t must be ready to run before calling this.

Example