Bird
0
0

You set two tasks with the same priority in FreeRTOS. What is a likely issue?

medium📝 Debug Q14 of 15
FreeRTOS - Task Priorities
You set two tasks with the same priority in FreeRTOS. What is a likely issue?
ATasks will share CPU time but may cause unpredictable timing
BTasks may starve lower priority tasks
COne task will never run
DSystem will crash immediately
Step-by-Step Solution
Solution:
  1. Step 1: Understand equal priority behavior

    Tasks with same priority share CPU time via time slicing.
  2. Step 2: Effects of equal priority

    This can cause unpredictable timing because tasks switch frequently, but no starvation occurs.
  3. Final Answer:

    Tasks will share CPU time but may cause unpredictable timing -> Option A
  4. Quick Check:

    Same priority = time slicing, possible timing issues [OK]
Quick Trick: Same priority tasks share CPU, timing may vary [OK]
Common Mistakes:
  • Assuming one task never runs
  • Expecting system crash
  • Ignoring time slicing behavior

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes