← 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
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .