Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DThreadPoolDispatcher.kt36 newFixedThreadPoolContext(1, name) in <lambda>()
62 public fun newFixedThreadPoolContext(nThreads: Int, name: String): ExecutorCoroutineDispatcher { in <lambda>() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DUnconfinedConcurrentStressTest.kt14 private val executor = newFixedThreadPoolContext(threads, "UnconfinedConcurrentStressTest") in <lambda>()
DExecutorRule.kt23 _executor = newFixedThreadPoolContext(numberOfThreads, threadPrefix) in apply()
DJobChildStressTest.kt14 private val pool = newFixedThreadPoolContext(3, "JobChildStressTest") in <lambda>()
DJobActivationStressTest.kt14 private val pool = newFixedThreadPoolContext(3, "JobActivationStressTest")
DJoinStrTest.kt15 private val pool = newFixedThreadPoolContext(3, "JoinStressTest")
DExecutorsTest.kt29 val context = newFixedThreadPoolContext(2, "TestPool") in <lambda>()
DRunBlockingTest.kt72 fun testCancellation() = newFixedThreadPoolContext(2, "testCancellation").use { in testCancellation()
DFailingCoroutinesMachineryTest.kt37 private val lazyOuterDispatcher = lazy { newFixedThreadPoolContext(1, "") } in <lambda>()
DThreadLocalTest.kt16 private val executor = newFixedThreadPoolContext(1, "threadLocalTest")
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/
DParametrizedDispatcherBase.kt36newFixedThreadPoolContext(dispatcher.substring(4).toInt(), dispatcher).also { closeable = it } in setup()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DJobExceptionsStressTest.kt15 private val executor = newFixedThreadPoolContext(5, "JobExceptionsStressTest")
DWithContextCancellationStressTest.kt17 private val pool = newFixedThreadPoolContext(3, "WithContextCancellationStressTest")
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/
DInvokeOnCloseStressTest.kt20 private val pool = newFixedThreadPoolContext(3, "InvokeOnCloseStressTest")
DConflatedChannelCloseStressTest.kt24 val pool = newFixedThreadPoolContext(nSenders + 2, "TestStressClose") in <lambda>()
DChannelSelectStressTest.kt17 …private val dispatcher = newFixedThreadPoolContext(pairedCoroutines * 2, "ChannelSelectStressTest")
DBroadcastChannelMultiReceiveStressTest.kt32 …private val pool = newFixedThreadPoolContext(nReceivers + 1, "BroadcastChannelMultiReceiveStressTe… in <lambda>()
DChannelSendReceiveStressTest.kt48 newFixedThreadPoolContext(nSenders + nReceivers, "ChannelSendReceiveStressTest") in <lambda>()
DChannelUndeliveredElementStressTest.kt35 private val dispatcher = newFixedThreadPoolContext(2, "ChannelAtomicCancelStressTest") in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
DSelectDeadlockStressTest.kt18 private val pool = newFixedThreadPoolContext(2, "SelectDeadlockStressTest") in <lambda>()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/
DPingPongWithBlockingContext.kt34 private val threadPool = newFixedThreadPoolContext(8, "PongCtx")
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DStateFlowStressTest.kt22 pool = newFixedThreadPoolContext(nEmitters + nCollectors, "StateFlowStressTest") in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/
DREADME.md21 | [newFixedThreadPoolContext] | Creates a thread pool of a fixed size
109 [newFixedThreadPoolContext]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/ko…
/external/kotlinx.coroutines/
DCHANGES.md845 * No `Job` in `newSingleThreadContext` and `newFixedThreadPoolContext` anymore (see #149, #151):
847 …`newFixedThreadPoolContext` invocation. They both used to return a combination of dispatcher + job,
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api527 …public static final fun newFixedThreadPoolContext (ILjava/lang/String;)Lkotlinx/coroutines/Executo…