Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Memory model, sequential consistency?

Dikenal juga sebagai: memory model · sequential consistency

Definition 13.9 University Computer Science — Year 3 · Bab 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.
Baca dalam konteks →