Home
last modified time | relevance | path

Searched refs:taskMode (Results 1 – 4 of 4) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DTasks.kt68 val taskMode: Int // TASK_XXX constant
73 override val taskMode: Int = TASK_NON_BLOCKING in afterTask() constant
85 inline val mode: Int get() = taskContext.taskMode // TASK_XXX
88 internal inline val Task.isBlocking get() = taskContext.taskMode == TASK_PROBABLY_BLOCKING
DCoroutineScheduler.kt735 val taskMode = task.mode in <lambda>() constant
736 idleReset(taskMode) in <lambda>()
737 beforeTask(taskMode) in <lambda>()
739 afterTask(taskMode) in <lambda>()
742 private fun beforeTask(taskMode: Int) { in <lambda>()
743 if (taskMode == TASK_NON_BLOCKING) return in <lambda>()
750 private fun afterTask(taskMode: Int) { in <lambda>()
751 if (taskMode == TASK_NON_BLOCKING) return in <lambda>()
DDispatcher.kt147 override val taskMode: Int constant in kotlinx.coroutines.scheduling.LimitingDispatcher
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DCoroutineSchedulerTest.kt171 private class TaskContextImpl(override val taskMode: Int) : TaskContext { in <lambda>() constant in kotlinx.coroutines.scheduling.CoroutineSchedulerTest.TaskContextImpl