Skip to main content

atomic_load_u32_acquire

Function atomic_load_u32_acquire 

Source
pub unsafe fn atomic_load_u32_acquire(addr: *mut u32) -> u32
Expand description

Performs an atomic acquire (load, or read) of a u32 from addr. You can use this to read the sequence or lock value.

ยงSafety

addr must point to a valid address and be 4-byte aligned.