AGENT SKILL

0.2.3-understand-atomic_exchange

[0.2.3] Atomic operation that reads the current value of a variable and writes a new value in a single indivisible ste

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

01 前言 Front Matter

name
0.2.3-understand-atomic_exchange
description
[0.2.3] Atomic operation that reads the current value of a variable and writes a new value in a single indivisible ste

03 SKILL.md 正文

understand-atomic_exchange

CALL NUMBER: ?.atomic_exchange DEFINITION: Atomic operation that reads the current value of a variable and writes a new value in a single indivisible step, returning the old value.

Invoke this skill to understand atomic_exchange 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)

CONSUMERS (what needs this)

mcs_lock, mcs_lock_wait_for_successor


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