mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Kernel: Also add a process boosting mechanism
Let's also have set_process_boost() for giving all threads in a process the same boost.
This commit is contained in:
parent
0dea0fd06f
commit
a69734bf2e
6 changed files with 33 additions and 2 deletions
|
@ -65,7 +65,7 @@ public:
|
|||
void set_priority_boost(u32 boost) { m_priority_boost = boost; }
|
||||
u32 priority_boost() const { return m_priority_boost; }
|
||||
|
||||
u32 effective_priority() const { return m_priority + m_priority_boost + m_extra_priority; }
|
||||
u32 effective_priority() const;
|
||||
|
||||
void set_joinable(bool j) { m_is_joinable = j; }
|
||||
bool is_joinable() const { return m_is_joinable; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue