Bird
0
0

Why might setting all tasks to the same high priority cause problems in FreeRTOS?

medium📝 Debug Q7 of 15
FreeRTOS - Task Priorities
Why might setting all tasks to the same high priority cause problems in FreeRTOS?
AIt leads to unpredictable task switching
BIt can cause starvation of lower priority tasks
CIt disables the scheduler
DIt causes the system to run faster
Step-by-Step Solution
Solution:
  1. Step 1: Understand effect of equal high priorities

    All tasks with same high priority cause the scheduler to switch tasks frequently (time slicing).
  2. Step 2: Recognize impact on predictability

    This frequent switching can make task execution order unpredictable.
  3. Final Answer:

    It leads to unpredictable task switching -> Option A
  4. Quick Check:

    Same high priority tasks cause unpredictable switching [OK]
Quick Trick: Avoid same high priority for all tasks [OK]
Common Mistakes:
  • Thinking starvation occurs when all priorities equal
  • Believing scheduler disables with equal priorities
  • Assuming system speed increases with priority

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes