The issue is that a lower priority task is not being preempted by a higher priority task even though the higher priority task is ready to run. The screenshot of my debug session illustrates this.
According to SysBios documentation "As a rule, no ready task has a priority level greater than that of the currently running task".
Here's the code for the tasks:
uint16_t processCounter = 0;
Void HighPriorityTask(UArg a0, UArg a1)
{
while(1)
{
Semaphore_pend(process_sema, BIOS_WAIT_FOREVER);
processCounter++; //Code never hits this breakpoint
}
}
Void LowPriorityTask(UArg a0, UArg a1)
{
while(1);
}
