Synchronization Tool - gon2gon2/pintos-kaist GitHub Wiki
์ปดํจํฐ์์คํ ์ ์ฌ๋ฌ๊ฐ์ ์ค๋ ๋๊ฐ ๋์์ฑ์ ๊ฐ๊ณ , ํน์ ๋ณ๋ ฌ์ ์ผ๋ก ์คํ๋๋ค. Synchronization Tool์ Race condition์ ํผํ๊ธฐ ์ํด ๊ณต์ ๋ฐ์ดํฐ์ ๋ํ ์ ๊ทผ์ ์ ์ดํ๋ ๋๊ตฌ๋ค.
Objectives
- Describe the critical-section problem and illustrate a race condition
- Illustrate hardware solutions to the ciritcal-section problem using memory barriers, compare-and-swap operations, and atomic variables.
- Demonstrate how mutex locks, semaphores , monitors, and condition variables can be used to solve the critical-section problem.
- Evaluate tools that solve the critical-section problem in low- moderate-, and high-contention scenarios.