Bird
0
0

A FreeRTOS system shows intermittent task starvation in runtime monitoring logs. Which combined approach best solves this?

hard📝 Workflow Q9 of 15
FreeRTOS - Debugging and Monitoring
A FreeRTOS system shows intermittent task starvation in runtime monitoring logs. Which combined approach best solves this?
AImplement priority inheritance and optimize task synchronization
BIncrease all task priorities equally
CDisable runtime monitoring to reduce overhead
DUse static memory allocation only
Step-by-Step Solution
Solution:
  1. Step 1: Identify cause of intermittent starvation

    Starvation often results from priority inversion and poor synchronization.
  2. Step 2: Apply combined solutions

    Priority inheritance prevents inversion; optimizing synchronization reduces blocking.
  3. Final Answer:

    Implement priority inheritance and optimize task synchronization -> Option A
  4. Quick Check:

    Fix starvation with priority inheritance + sync = Implement priority inheritance and optimize task synchronization [OK]
Quick Trick: Combine priority inheritance and sync to fix starvation [OK]
Common Mistakes:
  • Raising all priorities causes more conflicts
  • Disabling monitoring hides problems
  • Memory allocation unrelated to starvation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes