What is Sequential consistency?

The most intuitive memory consistency model: all cores' operations appear in one order in which each core's operations keep their program order.

Field: Multicore & Synchronization

Sequential consistency in the explanations

Questions that mention Sequential consistency (3)

  1. Which describes sequential consistency?
  2. The two threads above run simultaneously on different cores (assume no compiler reordering). Which outcome cannot occur under sequential consistency but can occur on real CPUs such as x86?
  3. Why do C11 _Atomic and C++11 std::atomic let programmers specify a memory order?

Related terms

Store buffer Memory barrier ABA problem Acquire-release semantics Atomic instruction Barrier synchronization Bus snooping Compare-and-swap Condition variable Critical section

Back to the glossary