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