10. How would you make sure that a the lowest priority task doesn\'t get starved
ID: 3590954 • Letter: 1
Question
10. How would you make sure that a the lowest priority task doesn't get starved, assuming that RTOS supports priority inheritance?
A) Using a RTOS that supports priority inheritance always guarantees that low priority task will not starve.
B) use sleep calls inside the highest priority task.
C) Make the high priority task to wait inside the main loop for an event that can only be generated by the lowest priority task.
D) use an RTOS that uses a preemptive priority based scheduling with time slice.
Explanation / Answer
C) Make the high priority task to wait inside the main loop for an event that can only be generated by the lowest priority task.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.