Function core::sync::atomic::atomic_add
[−]
[src]
unsafe fn atomic_add<T>(dst: *mut T, val: T, order: Ordering) -> T
Returns the old value (like __sync_fetch_and_add).