← Docs
kotlin-stdlib / kotlin.native.runtime / Debugging / isThreadStateRunnable

isThreadStateRunnable

Native
1.3
val isThreadStateRunnable : Boolean
(source)

Whether the current thread's state allows running Kotlin code.

Used by Kotlin/Native internal tests. If it returns false , it's a bug.

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 .