pub fn atomic_exchange(old: u32, value: u32) -> (u32, u32)
Return the old value and the replacement value for atomic exchange.