Function crossbeam_utils::atomic::atomic_cell::atomic_load

source ยท
unsafe fn atomic_load<T>(src: *mut T) -> T
where T: Copy,
Expand description

Atomically reads data from src.

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