Computer Science 330
Operating Systems
Fall 2025, Siena University
Lecture 0x09: Process Synchronization; Classic Problems of Synchronization
Date: Friday, October 10, 2025
Agenda
- Announcements
- The next readings/activities from OS zyBook: Chapter 12, due Friday, October 24 (!)
- We will recap Lab 4: Interleavings [HTML] [PDF] on
Monday, so be sure it's done by then
- Grading updates (other than Exam 1)
- Exam 1 recap
- Process Synchronization
- basic idea of semaphore-based approaches
- the monitor concept, and condition variables
- the zyBook covered the readers/writers pretty thoroughly - questions?
- opening up solutions to Exercise 9.5.1-9.5.3 without detailed discussion
- working through Exercise 9.5.4
- let's be dining philosophers
- Exercise 9.5.6
- The Sleeping Barber
- a quick look at semaphore implementations
- Starting Programming Project 2: Semaphores [HTML] [PDF]