Atomic128 struct
A 16-byte word that CompareExchange128 reads and writes as one unit.
- Use
import ThinkMeta.ConcurrentTasks.Cpp.Atomic128;- Namespace
ThinkMeta::ConcurrentTasks::Cpp- Platforms
- Windows, Linux
Syntax
struct alignas(16) Atomic128Remarks
Aligned to 16 bytes, as the instruction requires. The halves may be read on their own (LoadLow, LoadHigh) for a snapshot that a later CompareExchange128 verifies, since it fails on a torn one.
Fields
low
Syntax
std::uint64_t low;high
Syntax
std::uint64_t high;Generated from ThinkMeta.ConcurrentTasks.API @ da816bc (2026-11-06).