Bird
0
0

In FreeRTOS, what is the key benefit of using a fixed number of worker tasks to handle incoming jobs instead of creating a new task for each job?

easy📝 Conceptual Q1 of 15
FreeRTOS - Design Patterns for RTOS
In FreeRTOS, what is the key benefit of using a fixed number of worker tasks to handle incoming jobs instead of creating a new task for each job?
AIt reduces system overhead by reusing tasks and managing resources efficiently
BIt guarantees that all tasks run at the highest priority
CIt allows each task to have its own dedicated stack size
DIt eliminates the need for inter-task communication
Step-by-Step Solution
Solution:
  1. Step 1: Understand task creation overhead

    Creating a new task for every job consumes CPU time and memory for stack allocation.
  2. Step 2: Consider task reuse

    A fixed pool of worker tasks can be reused to process multiple jobs, reducing overhead.
  3. Final Answer:

    It reduces system overhead by reusing tasks and managing resources efficiently -> Option A
  4. Quick Check:

    Task reuse lowers overhead [OK]
Quick Trick: Task pools reuse tasks to save resources [OK]
Common Mistakes:
  • Assuming each job needs a separate task
  • Believing task pools remove the need for queues
  • Thinking task pools always run tasks at highest priority

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes