Synchronization
Mutual exclusion (locks)
- Ensure certain operations on certain data can be performed by only one process at a time
- Room that only one person can enter at a time
- No ordering guarantees
Event synchronization
- Ordering of events to preserve dependences
- e.g. producer —> consumer of data
- 3 main types:
- point-to-point
- global
- group