Home
last modified time | relevance | path

Searched refs:coroutineName (Results 1 – 6 of 6) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DCoroutineContext.kt275 internal actual val CoroutineContext.coroutineName: String? get() { constant
278 val coroutineName = this[CoroutineName]?.name ?: "coroutine" constant
279 return "$coroutineName#${coroutineId.id}"
295 val coroutineName = context[CoroutineName]?.name ?: "coroutine" in toString() constant
300 currentThread.name = buildString(lastIndex + coroutineName.length + 10) { in toString()
303 append(coroutineName) in toString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DAbstractCoroutine.kt112 val coroutineName = context.coroutineName ?: return super.nameString() in nameString() constant
113 return "\"$coroutineName\":${super.nameString()}" in nameString()
DCoroutineContext.common.kt31 internal expect val CoroutineContext.coroutineName: String? constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DMutexCancellationStressTest.kt28 val coroutineName = "MutexJob-$jobId" in <lambda>() constant
30 launch(dispatcher + CoroutineName(coroutineName), CoroutineStart.ATOMIC) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DCoroutineContext.kt49 internal actual val CoroutineContext.coroutineName: String? get() = null // not supported on native in withCoroutineContext() constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DCoroutineContext.kt53 internal actual val CoroutineContext.coroutineName: String? get() = null // not supported on JS in withCoroutineContext() constant