Home
last modified time | relevance | path

Searched refs:idleWorkerKeepAliveNs (Results 1 – 5 of 5) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DSchedulerTestBase.kt70 protected var idleWorkerKeepAliveNs = IDLE_WORKER_KEEP_ALIVE_NS variable in kotlinx.coroutines.scheduling.SchedulerTestBase
79 idleWorkerKeepAliveNs
DBlockingCoroutineDispatcherLivenessStressTest.kt23 idleWorkerKeepAliveNs = Long.MAX_VALUE in setUp()
DBlockingCoroutineDispatcherMixedStealingStressTest.kt20 idleWorkerKeepAliveNs = Long.MAX_VALUE in setUp()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DDispatcher.kt43 private val idleWorkerKeepAliveNs: Long, in toString() constant in kotlinx.coroutines.scheduling.ExperimentalCoroutineDispatcher
124 …createScheduler() = CoroutineScheduler(corePoolSize, maxPoolSize, idleWorkerKeepAliveNs, scheduler… in toString()
DCoroutineScheduler.kt95 @JvmField val idleWorkerKeepAliveNs: Long = IDLE_WORKER_KEEP_ALIVE_NS, in <lambda>() constant in kotlinx.coroutines.scheduling.CoroutineScheduler
108 require(idleWorkerKeepAliveNs > 0) { in <lambda>()
109 "Idle worker keep alive time $idleWorkerKeepAliveNs must be positive" in <lambda>()
781 … if (terminationDeadline == 0L) terminationDeadline = System.nanoTime() + idleWorkerKeepAliveNs in <lambda>()
783 LockSupport.parkNanos(idleWorkerKeepAliveNs) in <lambda>()