Method lrs::atomic::AtomicU32::min_acquire_release

Replaces the value in the atomic integer by the minimum of the current value and a given value with acquire-release semantics.

Syntax

impl AtomicU32 {
    fn min_acquire_release(&self, val: u32) -> u32
}

Arguments

NameDescription
val

The value that will be compared to the integer.

Return value

Returns the old value.