vibe-core/source/vibe
Sönke Ludwig 6a2dfa468b Implement priority based task scheduling.
1. Removes the marker task used by schedule() and instead limits the number of task resumptions to the initial length of the task queue
2. Assigns a static and a dynamic priority to each task. The dynamic priority starts with the same value as the static priority and gets incremented by the static priority each time the task gets overtaken by a higher priority task, eventually leading to the task becoming the highest priority (unless the static priority is zero). Tasks with a higher dynamic priority generally take precedence, unless the concurrency exceeds 10 scheduled tasks, in which case the front of the queue is scheduled in normal FIFO order.
2020-03-14 20:37:33 +01:00
..
core Implement priority based task scheduling. 2020-03-14 20:37:33 +01:00
internal Correct copyright holder. 2020-01-27 19:20:52 +01:00
appmain.d Correct copyright holder. 2020-01-27 19:20:52 +01:00