Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Memory model, sequential consistency » ?

Aussi appelé : memory model · sequential consistency

Definition 13.9 University Computer Science — Year 3 · Chapitre 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.
Lire dans le chapitre →