atomic_exchange

Function atomic_exchange 

Source
pub fn atomic_exchange(addr: &mut i32, val: i32) -> i32
Expand description

Atomic exchange. Transpiles to: atomicExch(addr, val)