1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

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
parent 45a30b4dfa
commit ec365b82d5
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,