Method lrs::atomic::AtomicIsize::max_release

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

Syntax

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

Arguments

NameDescription
val

The value that will be compared to the integer.

Return value

Returns the old value.