mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +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
|
@ -51,6 +51,7 @@ int profiling_disable(pid_t);
|
|||
#define THREAD_PRIORITY_MAX 99
|
||||
|
||||
int set_thread_boost(int tid, int amount);
|
||||
int set_process_boost(pid_t, int amount);
|
||||
|
||||
#define FUTEX_WAIT 1
|
||||
#define FUTEX_WAKE 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue