v1.8.10
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← Docs
kotlin-stdlib / kotlin.native.concurrent / Worker / activeWorkers

activeWorkers

Native
1.3
@ExperimentalStdlibApi val activeWorkers: List<Worker>
(source)

Get a list of all unterminated workers.

Thread safety: If some other thread calls Worker.requestTermination at the same time then this may return a Worker that's already terminated.

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