1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:57:44 +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:
Andreas Kling 2019-12-30 20:10:00 +01:00
parent 0dea0fd06f
commit a69734bf2e
6 changed files with 33 additions and 2 deletions

View file

@ -152,7 +152,8 @@ typedef u32 socklen_t;
__ENUMERATE_SYSCALL(profiling_disable) \
__ENUMERATE_SYSCALL(get_kernel_info_page) \
__ENUMERATE_SYSCALL(futex) \
__ENUMERATE_SYSCALL(set_thread_boost)
__ENUMERATE_SYSCALL(set_thread_boost) \
__ENUMERATE_SYSCALL(set_process_boost)
namespace Syscall {