Method lrs::atomic::AtomicUsize::and_acquire

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

Syntax

impl AtomicUsize {
    fn and_acquire(&self, val: usize) -> usize
}

Arguments

NameDescription
val

The value that will be binarily added to the integer.

Return value

Returns the old value.