Replaces the value in the atomic integer by the maximum of the current value and a given value with sequentially consistent semantics.
impl AtomicI64 {
fn max(&self, val: i64) -> i64
}| Name | Description |
|---|---|
| val | The value that will be compared to the integer. |
Returns the old value.