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/Syscall.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/Syscall.h')
-rw-r--r-- | Kernel/Syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h index 8124cbc694..6bb0e3ed05 100644 --- a/Kernel/Syscall.h +++ b/Kernel/Syscall.h @@ -93,6 +93,8 @@ __ENUMERATE_SYSCALL(getsockopt) \ __ENUMERATE_SYSCALL(setsockopt) \ __ENUMERATE_SYSCALL(create_thread) \ + __ENUMERATE_SYSCALL(gettid) \ + __ENUMERATE_SYSCALL(donate) \ namespace Syscall { |