core::intrinsics

Function atomic_store_unordered

Source
pub unsafe fn atomic_store_unordered<T: Copy>(_dst: *mut T, _val: T)
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Do NOT use this intrinsic; “unordered” operations do not exist in our memory model! In terms of the Rust Abstract Machine, this operation is equivalent to dst.write(val), i.e., it performs a non-atomic write.