rfc: 0015 scalar atomics and the Aji memory model accepted (revision 2) and integrated into the spec

The Aji RC11 profile (RC11 with NO-THIN-AIR; stronger than ISO C11/C++20) as
normative axioms in spec 04 §20; DRF-SC; linear atomic<T> for AtomicScalar
with atomic.new/atomic.take; ref<atomic<T>> operands; ordering tables incl.
cmpxchg failure table and two results; effects [atomic] / [atomic, atomic.weak];
target atomic_widths and E4203; E4202; enumerator as oracle (observed ⊆ allowed,
exact equality on the normative litmus corpus). Feature atomics stays reserved
until P5-2a. Q-015 resolved; record/replay and Q-017 moved to Phase 8.
RFC 0003 superseded. AIR bundle +1.9 %.
This commit is contained in:
dev committed 2026-10-06 00:30:35 +03:00
1 parent 702d69b2c1
commit 2bbbd2135c
24 files changed
+927 -142

No files matched your search

+2
View File
@@ -57,6 +57,8 @@ Draft registry. Codes are stable once released in a tagged compiler version.
| E4002 | concurrency.not_share | Non-Share value concurrently shared |
| E4101 | concurrency.possible_data_race | Conflicting ordinary access not ordered/synchronized |
| E4201 | atomic.invalid_order | Memory ordering invalid for atomic operation |
| E4202 | atomic.ordinary_access | Atomic cell accessed by an ordinary load |
| E4203 | atomic.unsupported_width | Atomic width not implemented lock-free by the target |
| E4301 | task.live_child_escape | Scope exits with live child task |
| E4302 | task.borrow_escape | Child task borrow can outlive parent storage |
| E4303 | io.buffer_in_flight | Buffer accessed while async operation owns/borrows it |