Module: Semaphores

Learning Outcomes

Thread Synchronization

Readings

Semaphores

Introduction to the semaphore concept and how it can be used as an alternative to locks and condition variables

Sample Java source

Experiential Learning

Homework Assignment #7

A pencil-and-paper assignment in which you have to reason about a thread-safe stack implemented with semaphores

Assessments

Homework #7 Assessment

Outcome(s) assessed: Thread Synchronization