All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Memory model, sequential consistency?

Also known as: memory model · sequential consistency

Definition 13.9 University Computer Science — Year 3 · Chapter 13 — Concurrency: Deadlock, Monitors and Lock-Free Structures

A memory model specifies which values each read of a shared location may return in a concurrent program. Under sequential consistency every execution behaves as some interleaving of the threads’ operations, each thread’s in its program order, every read returning the latest write before it in that interleaving.

Store buffering. Each write waits in its core’s buffer while the read that follows it goes to memory, where the other write has not arrived: both reads return 0.
Store buffering. Each write waits in its core’s buffer while the read that follows it goes to memory, where the other write has not arrived: both reads return 0.
Read in context →