Release consistency
A memory model allowing reordering of normal loads and stores, but preventing reordering across acquire and release operations.
Sequential consistency—where all memory operations appear in order—is expensive on modern hardware. Release consistency formalizes weaker guarantees: ordinary reads and writes can be reordered freely, but acquire operations (like lock entry or `std::atomic::load(acquire)`) prevent later operations from starting before it, and release operations prevent earlier operations from finishing after it. This lets developers pay for synchronization only where they explicitly synchronize, while the CPU and compiler aggressively optimize the rest.