Method lrs::atomic::AtomicIsize::min_weak

Replaces the value in the atomic integer by the minimum of the current value and a given value with relaxed ordering guarantees.

Syntax

impl AtomicIsize {
    fn min_weak(&self, val: isize) -> isize
}

Arguments

NameDescription
val

The value that will be compared to the integer.

Return value

Returns the old value.