Home
last modified time | relevance | path

Searched refs:blockingTasks (Results 1 – 3 of 3) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DBlockingCoroutineDispatcherWorkSignallingStressTest.kt28 val blockingTasks = CopyOnWriteArrayList<Deferred<*>>() in <lambda>() constant
33 blockingTasks += blockingAwait(blockingDispatcher, blockingBarrier) in <lambda>()
34 blockingTasks += blockingAwait(blockingDispatcher, blockingBarrier) in <lambda>()
38 blockingTasks += blockingAwait(blockingDispatcher, blockingBarrier) in <lambda>()
45 blockingTasks.forEach { require(it.isActive) } in <lambda>()
47 blockingTasks.awaitAll() in <lambda>()
DBlockingCoroutineDispatcherTest.kt89 val blockingTasks = (1..10).flatMap { in <lambda>() constant
100 blockingTasks.forEach { require(it.isActive) } in <lambda>()
103 blockingTasks.joinAll() in <lambda>()
113 … val blockingTasks = (1..tasksNum).map { launch(blockingDispatcher.value) { barrier.await() } } in <lambda>() constant
123 blockingTasks.joinAll() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DCoroutineScheduler.kt275 …private inline fun blockingTasks(state: Long): Int = (state and BLOCKING_MASK shr BLOCKING_SHIFT).… in <lambda>() method in kotlinx.coroutines.scheduling.CoroutineScheduler
433 val blocking = blockingTasks(state) in <lambda>()
469 val blocking = blockingTasks(state) in <lambda>()