1)Tow idle tasks Task_A and Task_B. A third Task_C is higher priority.
Task_C preempted Task_B and ran in 25% of time assigned to Task_B, then blocked itself. Would Task_B run to finish it’s time slot or Task_A would run?
2) if configUSE_TIME_SLICING 0 what’s the side effect on the schedule in switching the tasks?
3)In VxWorks RTOS, round robin assigns count(counter) for each task. If high priority task interrupted the lower, it runs and when it blocks itself the interrupted task runs to finish the count . Here in FreeRTOS, in every tick, the time slice switch form one to the other. Can please clarify?
4) “calling taskYIELD() will never result in a switch to a higher priority task”. My question is switching to which priority would occur ?
I’m wondering between richard_damon comment here:
and the definition in taskYIELD() here:
Regarding TaskYIELD() and switching.