Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

sequential consistency

The simple model of shared memory in which threads' instructions take turns one at a time and every thread sees the same single order.

Sequential consistency (Lamport, 1979) requires every execution to equal some interleaving of all threads' operations in which each thread's operations appear in program order; real x86-64 and ARM64 hardware is weaker, and C++ provides it for data-race-free programs using memory_order_seq_cst atomics.

Read the full section →