Method lrs::atomic::AtomicI64::min_acquire

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

Syntax

impl AtomicI64 {
    fn min_acquire(&self, val: i64) -> i64
}

Arguments

NameDescription
val

The value that will be compared to the integer.

Return value

Returns the old value.