diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-25 13:03:49 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-25 13:03:49 +0100 |
commit | 500df578fe5b24d14062d030c5628cbb4b69d3a6 (patch) | |
tree | e484af9a08e7463e95e947f8e8af3b94fb3d6645 /Kernel/Process.h | |
parent | 108b663618e893c804c150205a21f2e8d95088c2 (diff) | |
download | serenity-500df578fe5b24d14062d030c5628cbb4b69d3a6.zip |
LibGUI+Kernel: Add a GLock class (userspace mutex.)
It's basically a userspace port of the kernel's Lock class.
Added gettid() and donate() syscalls to support the timeslice donation
feature we already enjoyed in the kernel.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 66d0770c41..cc15c1c251 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -97,6 +97,8 @@ public: void die(); void finalize(); + int sys$gettid(); + int sys$donate(int tid); pid_t sys$setsid(); pid_t sys$getsid(pid_t); int sys$setpgid(pid_t pid, pid_t pgid); |