Skip to content

Commit b814035

Browse files
Update kotlinx-coroutines-core/jvm/src/scheduling/CoroutineScheduler.kt
Co-authored-by: Dmitry Khalanskiy <[email protected]>
1 parent 86c39d6 commit b814035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/jvm/src/scheduling/CoroutineScheduler.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ internal class CoroutineScheduler(
265265

266266
/**
267267
* Long describing state of workers in this pool.
268-
* Currently, includes created, CPU-acquired and blocking workers each occupying [BLOCKING_SHIFT] bits.
268+
* Currently includes created, CPU-acquired, and blocking workers, each occupying [BLOCKING_SHIFT] bits.
269269
*/
270270
private val controlState = atomic(corePoolSize.toLong() shl CPU_PERMITS_SHIFT)
271271
private val createdWorkers: Int inline get() = (controlState.value and CREATED_MASK).toInt()

0 commit comments

Comments
 (0)