Memory consistency
The rules that define when one thread's changes to shared memory become visible to other threads.
Memory consistency is a formal contract between the CPU and the programmer—the processor promises to follow the rules, and in return it gets to optimize aggressively. Without a clear agreement, parallel code is hopeless. There's a spectrum from strong models (sequential consistency) to weak (release-acquire). Modern languages like C++, Java, and Rust specify their own consistency models as a trade-off between performance and understandability. The contracts are subtle and violating them silently—data races don't throw exceptions, they produce wrong answers.