Home
last modified time | relevance | path

Searched refs:CloseableCoroutineDispatcher (Results 1 – 9 of 9) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DMultithreadedDispatchers.kt13 public actual fun newSingleThreadContext(name: String): CloseableCoroutineDispatcher { in <lambda>()
18 …c actual fun newFixedThreadPoolContext(nThreads: Int, name: String): CloseableCoroutineDispatcher { in newFixedThreadPoolContext()
24 internal class WorkerDispatcher(name: String) : CloseableCoroutineDispatcher(), Delay {
69 private class MultiWorkerDispatcher(name: String, workersCount: Int) : CloseableCoroutineDispatcher
DCloseableCoroutineDispatcher.kt7 public actual abstract class CloseableCoroutineDispatcher actual constructor() : CoroutineDispatche… class
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/src/
DMultithreadedDispatchers.common.kt8 public expect fun newSingleThreadContext(name: String): CloseableCoroutineDispatcher
11 …lic expect fun newFixedThreadPoolContext(nThreads: Int, name: String): CloseableCoroutineDispatcher
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/
DConcurrentTestUtilities.common.kt17 inline fun CloseableCoroutineDispatcher.use(block: (CloseableCoroutineDispatcher) -> Unit) { in printStackTrace()
DConcurrentExceptionsStressTest.kt15 private var workers: Array<CloseableCoroutineDispatcher> = emptyArray() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCloseableCoroutineDispatcher.kt18 public expect abstract class CloseableCoroutineDispatcher() : CoroutineDispatcher { class
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DCloseableCoroutineDispatcher.kt7 public actual abstract class CloseableCoroutineDispatcher actual constructor() : CoroutineDispatche… class
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DExecutors.kt41 public actual typealias CloseableCoroutineDispatcher = ExecutorCoroutineDispatcher in close() typealias
/external/kotlinx.coroutines/
DCHANGES.md899 * Introduced `ExecutorCoroutineDispatcher` instead of `CloseableCoroutineDispatcher` (see #385).
999 * Add extension to `ExecutorService` to return `CloseableCoroutineDispatcher` (see #278, PR by @dev…