29. Memory consistency and synchronization
Reason about which memory operations other threads may observe and in what order. Compare sequential consistency with relaxed models, then connect fences, atomics, locks, and lock-free algorithms to hardware behavior.