Function core::intrinsics::atomic_fence [−][src]
pub unsafe extern "rust-intrinsic" fn atomic_fence()
🔬 This is a nightly-only experimental API. (core_intrinsics
)
intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library
Expand description
原子 fence。
通过将 Ordering::SeqCst
传递为 order
,可以在 atomic::fence
中获得此内联函数的稳定版本。