Skip to content

Commit 59c84ec

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

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
@@ -264,7 +264,7 @@ internal class CoroutineScheduler(
264264
val workers = ResizableAtomicArray<Worker>(corePoolSize + 1)
265265

266266
/**
267-
* Long describing state of workers in this pool.
267+
* The `Long` value describing the state of workers in this pool.
268268
* 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)

0 commit comments

Comments
 (0)