pub fn atomic_add_u32(ptr: &mut u32, value: u32) -> u32
Atomically adds value to *ptr (u32) and returns the old value.
value
*ptr