I have experience with several RTOS (pSOS, VxWorks, QNX) however I'm new to MicroC/OS II (ucos ii). I see that something unique about ucos ii is instead of having a unique ID for tasks it uses the priority to uniquely identify tasks and that all tasks must be at different priorities and thus round robin scheduling is not supported. That much I understand. Here's the question:
If I change the priority of a task with OSTaskChangePrio() doesn't that cause problems for any code or other tasks that had stored the priority (task ID) of the task that just changed its priority. In effect changing priority changes the identity of the task. How is this not a problem?