pub fn atomic_max_u32(ptr: &mut u32, value: u32) -> u32
Atomically computes max(*ptr, value) and returns the old value.
*ptr
value