In FreeRTOS, what does preemptive scheduling mean?
easy📝 Conceptual Q1 of 15
FreeRTOS - Task Scheduling
In FreeRTOS, what does preemptive scheduling mean?
AA higher priority task can interrupt a lower priority task immediately
BTasks run in the order they were created regardless of priority
CTasks run only when the current task finishes
DTasks share CPU time equally without priority consideration
Step-by-Step Solution
Solution:
Step 1: Understand preemptive scheduling concept
Preemptive scheduling allows a higher priority task to interrupt a lower priority task immediately when it becomes ready.
Step 2: Compare options with definition
Only a higher priority task can interrupt a lower priority task immediately describes this behavior correctly; others describe non-preemptive or incorrect scheduling.
Final Answer:
A higher priority task can interrupt a lower priority task immediately -> Option A