diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-14 20:58:23 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-14 20:58:23 +0100 |
commit | 69efa3f630141a74ced338b07d8466a5a0e7557f (patch) | |
tree | fb61f96e27eecceb66952c9c03e783eeeb80284c /Kernel/Syscall.h | |
parent | c6a8b956432370500df4c19cdccd13806bc18d79 (diff) | |
download | serenity-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.h | 3 |
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 { |