Home
last modified time | relevance | path

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

12345678910>>...13

/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/src/
H A DMultithreadedDispatchers.common.kt34 newFixedThreadPoolContext(1, name)
62 public expect fun newFixedThreadPoolContext(nThreads: Int, name: String): CloseableCoroutineDispatc… method
/aosp_15_r20/packages/apps/Launcher3/src/com/android/launcher3/util/coroutines/
DDispatcherProvider.kt22 import kotlinx.coroutines.newFixedThreadPoolContext
55 return newFixedThreadPoolContext( in bgDispatcher()
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
H A DSysUICoroutinesModule.kt36 import kotlinx.coroutines.newFixedThreadPoolContext
74 newFixedThreadPoolContext( in bgApplicationScope()
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/sync/
H A DMutexStressTest.kt25 newFixedThreadPoolContext(1, "testMultiThreadedContextWithSingleWorker").use { in <lambda>()
32 newFixedThreadPoolContext(8, "testMultiThreadedContext").use { in <lambda>()
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/
H A DMultithreadedDispatcherStressTest.kt18 val dispatcher = newFixedThreadPoolContext(nThreads, "testMultiThreadedContext") in testClosingNotDroppingTasks()
H A DLimitedParallelismConcurrentTest.kt25 val executor = newFixedThreadPoolContext(targetParallelism, "test") in <lambda>()
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
H A DThreadPoolDispatcher.kt9 public actual fun newFixedThreadPoolContext(nThreads: Int, name: String): ExecutorCoroutineDispatch… in <lambda>() method
/aosp_15_r20/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/
H A DParametrizedDispatcherBase.kt31newFixedThreadPoolContext(dispatcher.substring(4).toInt(), dispatcher).also { closeable = it } in setup()
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/nativeOther/src/
H A DDispatchers.kt14 …private val ctx = newFixedThreadPoolContext(Platform.getAvailableProcessors().coerceAtLeast(2), "D… in createMainDispatcher()
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
H A DUnconfinedConcurrentStressTest.kt11 private val executor = newFixedThreadPoolContext(threads, "UnconfinedConcurrentStressTest") in <lambda>()
H A DJobChildStressTest.kt11 private val pool = newFixedThreadPoolContext(3, "JobChildStressTest") in <lambda>()
H A DJobActivationStressTest.kt11 private val pool = newFixedThreadPoolContext(3, "JobActivationStressTest")
H A DJoinStressTest.kt12 private val pool = newFixedThreadPoolContext(3, "JoinStressTest")
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/knit/
H A DClosedAfterGuideTestExecutor.kt10 internal fun newFixedThreadPoolContext(nThreads: Int, name: String): ExecutorCoroutineDispatcher = in newSingleThreadContext() method
/aosp_15_r20/external/kotlinx.coroutines/test-utils/jvm/src/
H A DExecutorRule.kt21 _executor = newFixedThreadPoolContext(numberOfThreads, threadPrefix) in apply()
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
H A DDispatchers.kt27 private val unlimitedPool = newFixedThreadPoolContext(2048, "Dispatchers.IO")
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
H A DJobExceptionsStressTest.kt13 private val executor = newFixedThreadPoolContext(5, "JobExceptionsStressTest")
H A DWithContextCancellationStressTest.kt15 private val pool = newFixedThreadPoolContext(3, "WithContextCancellationStressTest")
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/
H A DInvokeOnCloseStressTest.kt16 private val pool = newFixedThreadPoolContext(3, "InvokeOnCloseStressTest")
H A DConflatedChannelCloseStressTest.kt18 val pool = newFixedThreadPoolContext(nSenders + 2, "TestStressClose") in <lambda>()
H A DChannelSelectStressTest.kt14 …private val dispatcher = newFixedThreadPoolContext(pairedCoroutines * 2, "ChannelSelectStressTest")
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
H A DSelectDeadlockStressTest.kt15 private val pool = newFixedThreadPoolContext(2, "SelectDeadlockStressTest") in <lambda>()
/aosp_15_r20/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/
H A DPingPongWithBlockingContext.kt28 private val threadPool = newFixedThreadPoolContext(8, "PongCtx")
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/native/test/
H A DMultithreadedDispatchersTest.kt44 val dispatcher = newFixedThreadPoolContext(64, "test") in testNotAllocatingExtraDispatchers()
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
H A DStateFlowStressTest.kt19 pool = newFixedThreadPoolContext(nEmitters + nCollectors, "StateFlowStressTest") in <lambda>()

12345678910>>...13