spec: embedding-abi-m2 — per-thread runtime context + concurrency safety (user-approved, grounding-check PASS 9/9); open in-flight [~]
This commit is contained in:
+9
-1
@@ -218,7 +218,7 @@ work progresses.
|
||||
finding [spec_gap]#2;
|
||||
`docs/journals/2026-05-18-iter-emit-ir-staticlib.md`.
|
||||
|
||||
- [ ] **\[milestone\]** Embedding ABI — M2: per-thread runtime
|
||||
- [~] **\[milestone\]** Embedding ABI — M2: per-thread runtime
|
||||
context + concurrency safety. `ailang_ctx_new()/_free` threaded
|
||||
through every call; neutralise the two process-global hazards
|
||||
the runtime read surfaced — the non-atomic
|
||||
@@ -236,6 +236,14 @@ work progresses.
|
||||
- depends on: Embedding ABI — M1.
|
||||
- context: 2026-05-18 chat; runtime hazard read
|
||||
(`runtime/rc.c` global stats + `atexit`).
|
||||
Spec'd + user-approved 2026-05-18 (grounding-check PASS 9/9):
|
||||
`docs/specs/2026-05-18-embedding-abi-m2.md` — ctx as mandatory
|
||||
explicit C-ABI param (TLS-forwarder, internal conv + `_adapter`/
|
||||
`_clos` byte-untouched); ctx near-empty by discipline
|
||||
(`{alloc,free}_count` only); hazards neutralised in the swarm
|
||||
artefact, `g_rc_*`+atexit retained as the null-ctx executable
|
||||
fallback; staticlib RC-only enforced; no schema/surface change.
|
||||
Plan next.
|
||||
|
||||
- [ ] **\[milestone\]** Embedding ABI — M3: frozen value layout +
|
||||
single ADT/record crossing + RC ownership contract. Host
|
||||
|
||||
Reference in New Issue
Block a user