Skip to main content

switch_atomic_set

Function switch_atomic_set 

Source
pub unsafe extern "C" fn switch_atomic_set(
    mem: *mut switch_atomic_t,
    val: u32,
)
Expand description

Uses an atomic operation to set a uint32 value at a specified location of memory. @param mem The location of memory to set. @param val The uint32 value to set at the memory location.