Home
last modified time | relevance | path

Searched refs:newSingleThreadContext (Results 1 – 25 of 33) sorted by relevance

12

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DExecutorsTest.kt20 val context = newSingleThreadContext("TestThread") in <lambda>()
86 val ctx1 = newSingleThreadContext("Ctx1") in <lambda>()
87 val ctx2 = newSingleThreadContext("Ctx2") in <lambda>()
DThreadContextElementTest.kt60 newSingleThreadContext("withContext").use { in <lambda>()
94 newSingleThreadContext("withContext").use { in <lambda>()
113 newSingleThreadContext("withContext").use { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-context-04.kt13 newSingleThreadContext("Ctx1").use { ctx1 -> in <lambda>()
14 newSingleThreadContext("Ctx2").use { ctx2 -> in <lambda>()
Dexample-context-01.kt20 launch(newSingleThreadContext("MyOwnThread")) { // will get its own new thread in <lambda>()
Dexample-sync-05.kt26 val counterContext = newSingleThreadContext("CounterContext")
Dexample-sync-04.kt26 val counterContext = newSingleThreadContext("CounterContext")
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/sync/
DMutexStressTest.kt21 newSingleThreadContext("testSingleThreadContext").use { in <lambda>()
62 newSingleThreadContext("SemaphoreStressTest").use { pool -> in <lambda>()
92 newSingleThreadContext("SemaphoreStressTest").use { pool -> in <lambda>()
DSemaphoreStressTest.kt96 newSingleThreadContext("SemaphoreStressTest").use { pool -> in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/src/
DMultithreadedDispatchers.common.kt8 public expect fun newSingleThreadContext(name: String): CloseableCoroutineDispatcher method
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DThreadPoolDispatcher.kt34 public actual fun newSingleThreadContext(name: String): ExecutorCoroutineDispatcher = in <lambda>() method
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactor/test/
DFluxContextTest.kt16 private val dispatcher = newSingleThreadContext("FluxContextTest")
DFlowAsFluxTest.kt118 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DFlowableContextTest.kt16 private val dispatcher = newSingleThreadContext("FlowableContextTest")
DFlowAsFlowableTest.kt59 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DFlowableContextTest.kt16 private val dispatcher = newSingleThreadContext("FlowableContextTest")
DFlowAsFlowableTest.kt59 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
DFlowAsObservableTest.kt185 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/
DLimitedParallelismConcurrentTest.kt49 val executor = newSingleThreadContext("test") in <lambda>()
DConcurrentExceptionsStressTest.kt27 newSingleThreadContext("JobExceptionsStressTest-$index") in <lambda>()
DRunBlockingTest.kt58 val thread = newSingleThreadContext(name) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/knit/
DClosedAfterGuideTestExecutor.kt11 internal fun newSingleThreadContext(name: String): ExecutorCoroutineDispatcher = ClosedAfterGuideTe… in newSingleThreadContext() method
/external/kotlinx.coroutines/ui/kotlinx-coroutines-javafx/test/
DJavaFxObservableAsFlowTest.kt29 newSingleThreadContext("setter").use { pool -> in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DMultithreadedDispatchers.kt13 public actual fun newSingleThreadContext(name: String): CloseableCoroutineDispatcher { in <lambda>() method
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/
DMultithreadingTest.kt29 newSingleThreadContext("testSingleThread").use { threadPool -> in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DFlowAsPublisherTest.kt123 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()

12