Replaces the value in the atomic integer by the maximum of the current value and a given value with relaxed ordering guarantees.
impl AtomicU64 {
fn max_weak(&self, val: u64) -> u64
}| Name | Description |
|---|---|
| val | The value that will be compared to the integer. |
Returns the old value.