Method lrs::atomic::AtomicU64::add_acquire

Adds a value to the atomic integer with acquire semantics.

Syntax

impl AtomicU64 {
    fn add_acquire(&self, val: u64) -> u64
}

Arguments

NameDescription
val

The value to be added to the integer.

Return value

Returns the old value.