Race conditions, locks, variables, monitors, deadlock
Race conditions, locks, condition variables, monitors
Lecture notes
Operating System Concepts, Sections 5.1-2, 5.5, 5.6.4, 5.7.1, 5.9
Reading
code
The deadlock problem, deadlock resolution
Operating System Concepts, Sections 7.1-4, 7.5 (not 7.5.3), 7.6 (not 7.6.2), 7.7-8
Determining all possible output of a program with race conditions
Sample problem
Solution