Bird
0
0

What is the primary reason task notifications in FreeRTOS use fewer system resources than queues or semaphores?

easy📝 Conceptual Q1 of 15
FreeRTOS - Task Notifications
What is the primary reason task notifications in FreeRTOS use fewer system resources than queues or semaphores?
AThey use message buffers that add overhead
BThey require dynamic memory allocation for each notification
CThey rely on kernel objects that increase context switch time
DThey use a single 32-bit variable within the task's control block
Step-by-Step Solution
Solution:
  1. Step 1: Understand task notifications storage

    Task notifications are stored as a 32-bit value inside the task control block, avoiding extra kernel objects.
  2. Step 2: Compare with other IPC methods

    Queues and semaphores require separate kernel objects and more memory management, increasing overhead.
  3. Final Answer:

    They use a single 32-bit variable within the task's control block -> Option D
  4. Quick Check:

    Single variable storage reduces resource use [OK]
Quick Trick: Task notifications use a 32-bit variable inside the task [OK]
Common Mistakes:
  • Assuming notifications allocate separate kernel objects
  • Confusing notifications with message queues
  • Believing notifications require dynamic memory

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes