Skip to content

Commit

Permalink
Additional comment in CoroutineScheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad committed Jun 28, 2022
1 parent c9d3f7b commit 4262e3f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -683,6 +683,7 @@ internal class CoroutineScheduler(
* No tasks were found:
* 1) Either at least one of the workers has stealable task in its FIFO-buffer with a stealing deadline.
* Then its deadline is stored in [minDelayUntilStealableTask]
* // '2)' can be found below
*
* Then just park for that duration (ditto re-scanning).
* While it could potentially lead to short (up to WORK_STEALING_TIME_RESOLUTION_NS ns) starvations,
Expand Down

0 comments on commit 4262e3f

Please sign in to comment.