Record Atomicpub
Source:record(pub) Atomic t
.value t
Description
Atomic cell over a word-sized primitive type. All ops take an explicit MemoryOrdering. The WP-F1 followup wires the real host intrinsics on top of Rust's std::sync::atomic::AtomicI64 — see src/frontend/intrinsics/sync.rs. Two caller-visible simplifications documented there:
- Every
Atomic tis backed by anAtomicI64at runtime, regardless oft. Fine for any Silo integer scalar. - Every op uses
SeqCstordering regardless of theMemoryOrderingargument the caller supplies. The argument is still required so the checker-visible signature matches the spec; it is consumed-and-ignored by the host.
Fields
.valuet