The OpenD Programming Language

atomic_load_explicit_impl

pragma(inline, true) @trusted
A
atomic_load_explicit_impl
(
A
)
(
const shared(A)* obj
,
memory_order order
)

Examples

shared(int) obj = 3;
assert(atomic_load_explicit_impl(&obj, memory_order.memory_order_seq_cst) == 3);

Meta