Bird
0
0

Why is it important for a watchdog task to run at a higher priority than the tasks it monitors?

hard📝 Conceptual Q10 of 15
FreeRTOS - Design Patterns for RTOS
Why is it important for a watchdog task to run at a higher priority than the tasks it monitors?
ATo ensure it can detect and respond quickly to task failures
BTo allow monitored tasks to run less frequently
CTo reduce CPU usage by the watchdog task
DTo prevent the system from entering idle state
Step-by-Step Solution
Solution:
  1. Step 1: Understand priority impact on responsiveness

    A higher priority lets the watchdog preempt other tasks to check system health promptly.
  2. Step 2: Link priority to failure detection

    Quick detection and response reduce risk of system lockup or damage.
  3. Final Answer:

    To ensure it can detect and respond quickly to task failures -> Option A
  4. Quick Check:

    Higher priority = faster failure detection [OK]
Quick Trick: Higher priority lets watchdog react faster to problems [OK]
Common Mistakes:
  • Thinking it slows monitored tasks
  • Assuming it saves CPU
  • Believing it prevents idle state

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes