Learning objectives
What you should understand
- Define happens-before and conflicting actions
- Recognize undefined behavior from data races
- Separate compiler and CPU reordering models
Lab
Hands-on exercise
Analyze and repair a deliberately racy handoff.
Deliverable
Evidence of completion
A happens-before graph plus ThreadSanitizer evidence.
- Prerequisite
- EP 56