Searched refs:newSingleThreadContext (Results 1 – 25 of 30) sorted by relevance
12
20 val context = newSingleThreadContext("TestThread") in <lambda>()86 val ctx1 = newSingleThreadContext("Ctx1") in <lambda>()87 val ctx2 = newSingleThreadContext("Ctx2") in <lambda>()
61 newSingleThreadContext("withContext").use { in <lambda>()
58 val thread = newSingleThreadContext(name) in testOtherDispatcher()
184 newSingleThreadContext("withContext").use { in <lambda>()
13 newSingleThreadContext("Ctx1").use { ctx1 -> in <lambda>()14 newSingleThreadContext("Ctx2").use { ctx2 -> in <lambda>()
20 launch(newSingleThreadContext("MyOwnThread")) { // will get its own new thread in <lambda>()
26 val counterContext = newSingleThreadContext("CounterContext")
35 newSingleThreadContext("SemaphoreStressTest").use { pool -> in <lambda>()65 newSingleThreadContext("SemaphoreStressTest").use { pool -> in <lambda>()
68 newSingleThreadContext("SemaphoreStressTest").use { pool -> in <lambda>()
23 TestCoroutineScope(newSingleThreadContext("incorrect call")) in <lambda>()
29 newSingleThreadContext("testSingleThread").use { threadPool -> in <lambda>()
286 runBlockingTest(newSingleThreadContext("name")) { in <lambda>()
16 private val dispatcher = newSingleThreadContext("FluxContextTest")
118 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
16 private val dispatcher = newSingleThreadContext("FlowableContextTest")
59 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
185 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
35 public fun newSingleThreadContext(name: String): ExecutorCoroutineDispatcher = in <lambda>() method
29 newSingleThreadContext("setter").use { pool -> in <lambda>()
122 newSingleThreadContext(threadName).use { dispatcher -> in <lambda>()
20 | [newSingleThreadContext] | Creates a single-threaded coroutine context108 [newSingleThreadContext]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotli…