kotlin-stdlib / kotlin.concurrent / AtomicLong / getAndAdd getAndAdd Native 1.3 fun getAndAdd ( delta : Long ) : Long (source) Atomically adds the given value to the current value and returns the old value.