envzn
0.8 · beta · not released

Library / Concurrency / Atomics / AtomicBinary

CLASS

AtomicBinary

INTERNAL kernel class wrapping a single lock-free atomic octet. Holds a binary — an opaque octet, NOT a number. AtomicUint8 is the numeric counterpart; the two are distinct Envzn types over the same underlying C shim, which is why the C entry points still spell themselves ev_atomic_byte_*.

Constructors 1

INIT(binary initialValue)

Methods 3

METHOD load() RETURNS binary
reads
METHOD store(binary newValue) RETURNS void
reads
METHOD compareExchange(binary expected, binary desired) RETURNS boolean
reads