Method lrs::atomic::AtomicI32::and_acquire_release

Performs a binary and operation on the atomic integer with acquire-release semantics.

Syntax

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

Arguments

NameDescription
val

The value that will be binarily added to the integer.

Return value

Returns the old value.