Process Synchronization
1. Computer Operations
2. Race Condition
(1) Problem Occurrence
(2) Is it always a problem?
(3) How the Problem Occurs
(4) Summary: When Race Condition Occurs in the OS
3. Race Condition in the OS
(1) How the Problem Occurs
(2) Solution
(3) Race Condition in the OS (interrupt handler vs. kernel)
(4) Race Condition in the OS (multi-processor)
a. Method 1
b. Method 2
4. The Process Synchronization Problem
(1) Race Condition
(2) Solution
5. Example of a Race Condition
6. The Critical-Section Problem
7. Attempts to Solve the Problem
(1) Initial Attempts to Solve the Problem
(2) Requirements for Programmatic Solutions
a. Mutual Exclusion
b. Progress
c. Bounded Waiting
(3) Algorithm 1 to Prevent Simultaneous Access
(4) Algorithm 2 to Prevent Simultaneous Access
(5) Algorithm 3 to Prevent Simultaneous Access
(6) Synchronization Hardware
8. Semaphores
(1) What is a Semaphore?
Last updated