The OpenD Programming Language

atomic_thread_fence_impl

Don't allow reordering, and emit a fence instruction.

pragma(inline, true)
void
atomic_thread_fence_impl
()
(
memory_order order
)

Examples

atomic_thread_fence_impl(memory_order.memory_order_seq_cst);

Meta