Method lrs::atomic::AtomicI32::add_acquire

Adds a value to the atomic integer with acquire semantics.

Syntax

impl AtomicI32 {
    fn add_acquire(&self, val: i32) -> i32
}

Arguments

NameDescription
val

The value to be added to the integer.

Return value

Returns the old value.