unsafe fn atomic_store<T>(dst: *mut T, val: T)
Expand description

Atomically writes val to dst.

This operation uses the Release ordering. If possible, an atomic instructions is used, and a global lock otherwise.