← Docs
kotlin-stdlib / kotlin.native.concurrent / AtomicLong / decrement

decrement

Native
1.3
fun decrement ( )
(source)
Deprecated: Use decrementAndGet() or getAndDecrement() instead.

Atomically decrements the current value by one.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .