Searched refs:BLOCKING_SHIFT (Results 1 – 1 of 1) sorted by relevance
275 …e inline fun blockingTasks(state: Long): Int = (state and BLOCKING_MASK shr BLOCKING_SHIFT).toInt() in <lambda>()282 private inline fun incrementBlockingTasks() = controlState.addAndGet(1L shl BLOCKING_SHIFT) in <lambda>()285 controlState.addAndGet(-(1L shl BLOCKING_SHIFT)) in <lambda>()312 private const val BLOCKING_SHIFT = 21 // 2M threads max in <lambda>() constant313 private const val CREATED_MASK: Long = (1L shl BLOCKING_SHIFT) - 1 in <lambda>()314 private const val BLOCKING_MASK: Long = CREATED_MASK shl BLOCKING_SHIFT in <lambda>()315 private const val CPU_PERMITS_SHIFT = BLOCKING_SHIFT * 2 in <lambda>()319 internal const val MAX_SUPPORTED_POOL_SIZE = (1 shl BLOCKING_SHIFT) - 2 in <lambda>()324 private const val PARKED_VERSION_INC = 1L shl BLOCKING_SHIFT in <lambda>()