AGENT SKILL

understand-seq_cst_atomic_visibility_happens_before_cutoff_visibility

暂无简介

License 许可
MIT
最近更新
2026-10-09
Stars
★ 0
Forks
0

03 SKILL.md 正文

understand-seq_cst_atomic_visibility_happens_before_cutoff_visibility

CALL NUMBER: deep_c11_memory_model.seq_cst_atomic_visibility_happens_before_cutoff_visibility : concurrency_synchronization_primitives_and_memor(2) DEFINITION: A seq_cst read cannot observe a write that is ordered after it in the total order; the happens-before relationship established by seq_cst operations enforces a cutoff beyond which writes are not visible.

Invoke this skill to understand seq_cst_atomic_visibility_happens_before_cutoff_visibility down to its primitives. The RELATIVE ROOT below is the least-fixed-point closure of everything it bundles from — the full import cone, grouped by the lib each prim comes from. Projected from a prover-typed KB (MAP/SWI-Prolog consistency gate): every reference below resolves.

THE RELATIVE ROOT (the import cone, by lib)

from concurrency_synchronization_primitives_and_memor

  • happens_before_relation (d1): A fundamental ordering relation in memory models defining that if operation A happens-before operation B, then A's effects are visible to B; forms the basis for reasoning about program correctness in concurrent settings.
  • synchronizes_with (d2): A relation between atomic operations in memory models where a release fence on one thread synchronizes with an acquire fence on another thread, establishing happens-before order across threads.

from deep_c11_memory_model

  • seq_cst_implies_acquire (d1): A load operation with sequentially consistent ordering carries acquire semantics; all subsequent loads and stores cannot be reordered before the seq_cst load.
  • seq_cst_implies_release (d1): A store operation with sequentially consistent ordering carries release semantics; all prior loads and stores cannot be reordered after the seq_cst store.

Projected from the concurrency synchronization primitives and memory models KB (277 concepts / 278 relations) — consistency-typed by MAP; the facet list after the colon IS the cross-lib dependency web.

04 同仓库更多 Skills