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