Function core::sync::atomic::atomic_compare_exchange_weak
source · unsafe fn atomic_compare_exchange_weak<T: Copy>(
dst: *mut T,
old: T,
new: T,
success: Ordering,
failure: Ordering
) -> Result<T, T>