The OpenD Programming Language

Atomic.load

Loads the atomic value from memory and returns it. The memory barrier specified by 'order' is applied to the operation, which is fully sequenced by default. Valid memory orders are MemoryOrder.raw, MemoryOrder.acq, and MemoryOrder.seq.

struct Atomic(T)
pure nothrow @nogc
T
load
()

Return Value

Type: T

The atomic value.

Meta