AGENT SKILL

0.6.6-understand-rmw_ind_004

[0.6.6] write_phase: the final step wherein the result of the modify phase is written atomically to the target variabl

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

01 前言 Front Matter

name
0.6.6-understand-rmw_ind_004
description
[0.6.6] write_phase: the final step wherein the result of the modify phase is written atomically to the target variabl

03 SKILL.md 正文

understand-rmw_ind_004

CALL NUMBER: deep_indivisibility_prope.rmw_ind_004 : deep_c11_memory_model(3) DEFINITION: write_phase: the final step wherein the result of the modify phase is written atomically to the target variable; this write becomes the new current value visible in the modification order for all subsequent operations.

Invoke this skill to understand rmw_ind_004 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 deep_c11_memory_model

  • load_indivisibility (d2): A relaxed atomic load returns exactly one value from the modification order of the target variable; no torn read of a partial value encoded in fewer bits than the atomic word is possible.
  • store_indivisibility (d2): A relaxed atomic store writes the complete value as one indivisible step; no intermediate write of a partial value encoded in fewer bits than the atomic word is observable by any thread.
  • no_tearing_guarantee (d3): The guarantee that multi-byte atomic values cannot be observed in a torn state where some bytes reflect the old value and others reflect a new concurrent value.

from deep_indivisibility_prope

  • rmw_ind_006 (d1): modification_order_commitment: the serialization of the RMW operation into the global modification order of the target atomic variable at the instant the write_phase becomes visible; this ordering point determines the value returned by concurrent operations.

CONSUMERS (what needs this)

rmw_ind_001, rmw_ind_003


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

(leaf — this is an actual skill.)

04 同仓库更多 Skills