Function atomic_sub

pub(in ::sync::atomic) const unsafe fn atomic_sub<T: Copy, U: Copy>(dst: *mut T, val: U, order: Ordering) -> T

Returns the previous value (like __sync_fetch_and_sub).