Bird
0
0

In FreeRTOS, when two tasks have identical priority levels and are both ready, which feature manages their CPU access to prevent starvation?

easy📝 Conceptual Q1 of 15
FreeRTOS - Task Scheduling
In FreeRTOS, when two tasks have identical priority levels and are both ready, which feature manages their CPU access to prevent starvation?
AIdle task preemption
BPriority inheritance mechanism
CTask notification system
DTime-slicing enabled by the scheduler
Step-by-Step Solution
Solution:
  1. Step 1: Understand task priorities

    Tasks with the same priority level are considered equal by the scheduler.
  2. Step 2: Identify the mechanism for fair CPU sharing

    FreeRTOS uses time-slicing to alternate CPU time between equal priority tasks.
  3. Final Answer:

    Time-slicing enabled by the scheduler -> Option D
  4. Quick Check:

    Equal priority tasks share CPU via time-slicing [OK]
Quick Trick: Equal priority tasks share CPU via time-slicing [OK]
Common Mistakes:
  • Confusing priority inheritance with time-slicing
  • Assuming task notifications control scheduling
  • Thinking idle task affects equal priority scheduling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes