Wednesday, February 25, 2026

Week 5: Threads, Synchronization, and Deadlocks

Topics Covered

Thread Models
POSIX Threads
Thread Pools
Mutexes
Semaphores
Condition Variables
Deadlock Conditions
Prevention
Detection
Recovery

Lecture Slides

Presentation slides for this week

Part 1: Threads and Concurrency

Part 2: Synchronization Primitives

Part 3: Deadlocks

Required Readings

  • 1.

    Operating System Concepts (Silberschatz)

    Relevant chapters for Threads, Synchronization, and Deadlocks

Assignments

New
Assignment 3: Deadlock Detection Algorithm

Released this week. See the assignments page for details.