Function atomic_singlethreadfence

Source
pub unsafe fn atomic_singlethreadfence<const ORD: AtomicOrdering>()
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

An atomic fence for synchronization within a single thread.

The stabilized version of this intrinsic is available in atomic::compiler_fence.