Producer Consumer
Actors
Shared Resources
What changed?

Predict the next step

Timeline
Try your own semaphore schedule

Each actor can hold one permit. A wait blocks when none are free; a signal releases a held permit and wakes the oldest waiter.