Method lrs::atomic::AtomicU8::or_acquire_release

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

Syntax

impl AtomicU8 {
    fn or_acquire_release(&self, val: u8) -> u8
}

Arguments

NameDescription
val

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

Return value

Returns the old value.