mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 23:25:08 +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:
parent
45a30b4dfa
commit
ec365b82d5
4 changed files with 12 additions and 4 deletions
|
@ -2376,6 +2376,7 @@ int Process::sys$get_shared_buffer_size(int shared_buffer_id)
|
|||
const char* to_string(Process::Priority priority)
|
||||
{
|
||||
switch (priority) {
|
||||
case Process::IdlePriority: return "Idle";
|
||||
case Process::LowPriority: return "Low";
|
||||
case Process::NormalPriority: return "Normal";
|
||||
case Process::HighPriority: return "High";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue