Function crossbeam_utils::atomic::atomic_cell::atomic_store

source ยท
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.