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