atomic_fetch_cas_volatile_i32_block

Function atomic_fetch_cas_volatile_i32_block 

Source
pub unsafe fn atomic_fetch_cas_volatile_i32_block(
    ptr: *mut i32,
    first_val: i32,
    second_val: i32,
) -> i32
Expand description

Fetches the value in ptr, performs a cas, and returns the original value