Skip to content

Commit d8888df

Browse files
qwwdfsadpablobaxter
authored andcommitted
Additional comment in CoroutineScheduler
1 parent fd15974 commit d8888df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ internal class CoroutineScheduler(
683683
* No tasks were found:
684684
* 1) Either at least one of the workers has stealable task in its FIFO-buffer with a stealing deadline.
685685
* Then its deadline is stored in [minDelayUntilStealableTask]
686+
* // '2)' can be found below
686687
*
687688
* Then just park for that duration (ditto re-scanning).
688689
* While it could potentially lead to short (up to WORK_STEALING_TIME_RESOLUTION_NS ns) starvations,

0 commit comments

Comments
 (0)