Shared Resources
Understand shared resources.
Explain mutexes and semaphores.
Define critical section.
Understand race conditions.
Explain deadlock conditions.
Learn Priority Inheritance Protocol.
Learn Priority Ceiling Protocol.
Shared Resources: An RTOS scheduler maintains two ready queues: one for high-priority processes and one for low-priority processes. If the high-priority queue is non-empty, processes are scheduled only from this queue; otherwise, processes are scheduled from the low-priority queue. Least Slack Time First (LST) scheduling is applied within each queue. Given the arrival time, execution time and deadlines of processes P0, P1, P2, P3 and P4, show the detailed scheduling sequence at each time slot with proper justification for every scheduling decision until all processes complete.