Method lrs::atomic::AtomicI8::sub_acquire

Subtracts a value from the atomic integer with acquire semantics.

Syntax

impl AtomicI8 {
    fn sub_acquire(&self, val: i8) -> i8
}

Arguments

NameDescription
val

The value to be subtracted from the integer.

Return value

Returns the old value.