unsafe fn atomic_store<T>(dst: *mut T, val: T)
Atomically writes val to dst.
val
dst
This operation uses the Release ordering. If possible, an atomic instructions is used, and a global lock otherwise.
Release