Concurrency and Synchronization in Operating Systems presents the fundamental principles of concurrent execution in modern systems. It explains threads, their implementation models, and POSIX synchronization mechanisms. The book covers race conditions, critical sections, semaphores, mutexes, and mutual exclusion techniques. It also introduces classical synchronization problems such as readers-writers, producer-consumer, and dining philosophers. A dedicated section discusses deadlocks, including their causes, prevention, detection, and recovery methods. Designed for students and beginners, the book provides a practical and progressive understanding of synchronization in operating systems.
Chapter 1 – Threads
Chapter 2 - Mutual Exclusion and Synchronization
Chapter 3 - The Readers-Writers Problem
Chapter 4 - The Producer-Consumer Problem
Chapter 5 - The Dining Philosophers Problem
Chapter 6 - Deadlocks
Chapter 7 - Monitors