summaryrefslogtreecommitdiff
path: root/Kernel/API/POSIX
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-07-14 01:25:35 +0300
committerAndreas Kling <kling@serenityos.org>2022-07-21 16:39:22 +0200
commit9db10887a1499db41c1c549cf60a9c0ba27766c0 (patch)
treec042c39333ef100280a633e7dcb85fe4bd2a76cb /Kernel/API/POSIX
parent55c7496200a321226b3599c24cfd40e899df73b0 (diff)
downloadserenity-9db10887a1499db41c1c549cf60a9c0ba27766c0.zip
Kernel: Clean up sys$futex and add support for cross-process futexes
Diffstat (limited to 'Kernel/API/POSIX')
-rw-r--r--Kernel/API/POSIX/futex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/API/POSIX/futex.h b/Kernel/API/POSIX/futex.h
index d814e9910e..fd90aafee9 100644
--- a/Kernel/API/POSIX/futex.h
+++ b/Kernel/API/POSIX/futex.h
@@ -53,7 +53,8 @@ extern "C" {
#define FUTEX_WAKE_BITSET 10
#define FUTEX_CLOCK_REALTIME (1 << 8)
-#define FUTEX_CMD_MASK ~(FUTEX_CLOCK_REALTIME)
+#define FUTEX_PRIVATE_FLAG (1 << 9)
+#define FUTEX_CMD_MASK ~(FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG)
#define FUTEX_BITSET_MATCH_ANY 0xffffffff