Bird
0
0

Why is it generally discouraged to keep interrupts disabled for long periods in FreeRTOS critical sections?

hard📝 Conceptual Q10 of 15
FreeRTOS - Interrupt Management
Why is it generally discouraged to keep interrupts disabled for long periods in FreeRTOS critical sections?
ABecause it automatically resets the microcontroller
BBecause it speeds up task switching too much
CBecause it causes memory leaks
DBecause it can cause missed interrupts and degrade real-time responsiveness
Step-by-Step Solution
Solution:
  1. Step 1: Understand interrupt disabling impact

    Disabling interrupts blocks all interrupt-driven events, including important ones.
  2. Step 2: Consequences of long disable periods

    This can cause missed interrupts and reduce system's real-time performance.
  3. Final Answer:

    Because it can cause missed interrupts and degrade real-time responsiveness -> Option D
  4. Quick Check:

    Long interrupt disable harms responsiveness = True [OK]
Quick Trick: Keep critical sections short to maintain real-time performance [OK]
Common Mistakes:
  • Thinking disabling interrupts speeds task switching
  • Confusing interrupt disabling with memory leaks
  • Believing microcontroller resets automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes