kotlin-stdlib / kotlin.concurrent / AtomicLong / incrementAndGet incrementAndGet Native 1.3 fun incrementAndGet(): Long(source) Atomically increments the current value by one and returns the new value.