KtThread

interface KtThread

Represents a unified native thread.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val name: String

Name of the thread that is adjusted to identify native thread properly (e.g. removes coroutine name on JVM). It returns UNSPECIFIED if rawName is null.

Link copied to clipboard
abstract val rawName: String?

Name of the thread returned directly by the platform. It might not be the best identification of a native thread (e.g. on JVM it might contain coroutine name).