Kernel: Make the colonel run at "Idle" priority (the lowest possible.)

This means it won't hog the CPU for more than a single timeslice. :^)
This commit is contained in:
Andreas Kling 2019-04-20 15:58:45 +02:00
commit ec365b82d5
Notes: sideshowbarker 2024-07-19 14:38:27 +09:00
4 changed files with 12 additions and 4 deletions

View file

@ -43,6 +43,7 @@ public:
static Vector<Process*> all_processes();
enum Priority {
IdlePriority,
LowPriority,
NormalPriority,
HighPriority,