Home
last modified time | relevance | path

Searched refs:asExecutor (Results 1 – 5 of 5) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DBlockingCoroutineDispatcherMixedStealingStressTest.kt25 val blocking = blockingDispatcher(corePoolSize).asExecutor() in testBlockingProgressPreventedInternal()
26 val regular = dispatcher.asExecutor() in testBlockingProgressPreventedInternal()
53 val blocking = blockingDispatcher(corePoolSize).asExecutor() in testBlockingProgressPreventedExternal()
54 val regular = dispatcher.asExecutor() in testBlockingProgressPreventedExternal()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DExecutorsTest.kt53 assertSame(executor, dispatcher.asExecutor()) in <lambda>()
60 Dispatchers.Default.asExecutor().execute { in <lambda>()
76 val executor = dispatcher.asExecutor() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DExecutors.kt70 public fun CoroutineDispatcher.asExecutor(): Executor = in close() method
/external/kotlinx.coroutines/
DCHANGES.md234 * `CoroutineDispatcher.asExecutor` extension (#1450).
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api311 …public static final fun asExecutor (Lkotlinx/coroutines/CoroutineDispatcher;)Ljava/util/concurrent…