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:
Andreas Kling 2019-12-30 20:10:00 +01:00
commit a69734bf2e
Notes: sideshowbarker 2024-07-19 10:31:47 +09:00
6 changed files with 33 additions and 2 deletions

View file

@ -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