atomic_max

Function atomic_max 

Source
unsafe fn atomic_max<T: Copy>(dst: *mut T, val: T, order: Ordering) -> T
Available on target_has_atomic only.
Expand description

Updates *dst to the max value of val and the old value (signed comparison)