summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-25 13:03:49 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-25 13:03:49 +0100
commit500df578fe5b24d14062d030c5628cbb4b69d3a6 (patch)
treee484af9a08e7463e95e947f8e8af3b94fb3d6645 /Kernel/Syscall.h
parent108b663618e893c804c150205a21f2e8d95088c2 (diff)
downloadserenity-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.h2
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 {