Searched refs:CPU_PERMITS_SHIFT (Results 1 – 1 of 1) sorted by relevance
270 private val controlState = atomic(corePoolSize.toLong() shl CPU_PERMITS_SHIFT) in <lambda>()276 … availableCpuPermits(state: Long): Int = (state and CPU_PERMITS_MASK shr CPU_PERMITS_SHIFT).toInt() in <lambda>()291 val update = state - (1L shl CPU_PERMITS_SHIFT) in <lambda>()295 private inline fun releaseCpuPermit() = controlState.addAndGet(1L shl CPU_PERMITS_SHIFT) in <lambda>()315 private const val CPU_PERMITS_SHIFT = BLOCKING_SHIFT * 2 in <lambda>() constant316 private const val CPU_PERMITS_MASK = CREATED_MASK shl CPU_PERMITS_SHIFT in <lambda>()