Skip to content

OSlings Practice 34k-36k, Problem 3: Scheduling

OSlings Practice 34k-36k, problem 3 of 3 · Length: 7:10 · Exercise: 36k_scheduling (Week 9) · Problems: 34k-36k (PDF) · Answer key: Solutions (PDF)

Three parts, worked on the set's pages 4 and 5: (a) seven turns of the round-robin pick_next on a five-slot table, with B waking after the third; (b) the order the 36k test gets if pick_next sets self.next = i, and why; (c) what an infinite loop in pid 3 does to pids 1 and 4, and what would fix it. The answer key's handwriting is written onto the page as each step is worked.

Download the video (MP4, 10 MB) · Captions (WebVTT) · All three problems