Skip to main content

atomic_exchange

Function atomic_exchange 

Source
pub fn atomic_exchange(old: u32, value: u32) -> (u32, u32)
Expand description

Return the old value and the replacement value for atomic exchange.