Concept Flow - vTaskPrioritySet() dynamic priority
Start with Task at Priority P
Call vTaskPrioritySet(Task, NewPriority)
Check if NewPriority is valid
Update Task Priority
Scheduler adjusts task order
Task runs with new priority
This flow shows how calling vTaskPrioritySet changes a task's priority dynamically, then the scheduler updates task order accordingly.