summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-14 20:58:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-14 20:58:23 +0100
commit69efa3f630141a74ced338b07d8466a5a0e7557f (patch)
treefb61f96e27eecceb66952c9c03e783eeeb80284c /Kernel/Syscall.h
parentc6a8b956432370500df4c19cdccd13806bc18d79 (diff)
downloadserenity-69efa3f630141a74ced338b07d8466a5a0e7557f.zip
Kernel+LibPthread: Implement pthread_join()
It's now possible to block until another thread in the same process has exited. We can also retrieve its exit value, which is whatever value it passed to pthread_exit(). :^)
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index c6d231ddf3..3b90b2276b 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -137,7 +137,8 @@ typedef u32 socklen_t;
__ENUMERATE_SYSCALL(getrandom) \
__ENUMERATE_SYSCALL(clock_gettime) \
__ENUMERATE_SYSCALL(clock_nanosleep) \
- __ENUMERATE_SYSCALL(openat)
+ __ENUMERATE_SYSCALL(openat) \
+ __ENUMERATE_SYSCALL(join_thread)
namespace Syscall {