Synchronization
Independent vs. Cooperating Processes
A Two Process Example
Programming with MUTUAL EXCLUSION
Our Two Process Example
Atomic Operations
Atomic Test And Set
Where do Atomic Operations Come From?
More Specifically
Requirements of a Critical Section
Higher Level Mechanisms for Building Critical Sections
Foundations for Synchronization
Semaphores
Binary Semaphores
Counting semaphores
Producer/Consumer
Synchronizing on the buffer and the rate
Buffer Pool
Summary
Email: bershad@cs.washington.edu
Home Page: http://www.cs.washington.edu/homes/bershad/