<aside>
💥 OBJECTIVES
- To present the concept of process synchronization.
- To introduce the critical-section problem, whose solutions can be used to ensure the consistency of shared data
- To present software solutions of the critical-section problem
- To present the deadlocks and different methods for preventing or avoiding deadlocks in a computer system
</aside>
复习PPT提到的内容:
Race Condition(竞态条件)
The Critical-Section Problem
Peterson’s Solution
Semaphores
Deadlocks
神经病 这不就是所有内容吗!
Background
PRODUCER-CONSUMER problem
The Critical-Section Problem
Peterson’s Solution
Semaphores
Deadlocks