pub fn atomic_exchange(addr: &mut i32, val: i32) -> i32
Atomic exchange. Transpiles to: atomicExch(addr, val)
atomicExch(addr, val)