Method lrs::atomic::AtomicU16::or_acquire

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

Syntax

impl AtomicU16 {
    fn or_acquire(&self, val: u16) -> u16
}

Arguments

NameDescription
val

The value that will be binarily or'd to the integer.

Return value

Returns the old value.