summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/semaphore.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-07-14 03:31:12 +0300
committerAndreas Kling <kling@serenityos.org>2022-07-21 16:39:22 +0200
commit01f0ae20b68c4da3156ee40768da432d411c7e13 (patch)
treecf803a57fc73b1e4fe8cf70ac680197aaf0720dd /Userland/Libraries/LibC/semaphore.h
parent23f3857cdd404275044be599666081e1a8a7a287 (diff)
downloadserenity-01f0ae20b68c4da3156ee40768da432d411c7e13.zip
LibPthread: Implement named semaphores
Note that as part of this commit semaphore.cpp is excluded from the DynamicLoader, as the dynamic loader does not build with pthread.cpp which semaphore.cpp uses.
Diffstat (limited to 'Userland/Libraries/LibC/semaphore.h')
-rw-r--r--Userland/Libraries/LibC/semaphore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/semaphore.h b/Userland/Libraries/LibC/semaphore.h
index 6171ecd6ce..ed009f0c7e 100644
--- a/Userland/Libraries/LibC/semaphore.h
+++ b/Userland/Libraries/LibC/semaphore.h
@@ -14,6 +14,7 @@
__BEGIN_DECLS
#define SEM_FLAG_PROCESS_SHARED (1 << 0)
+#define SEM_FLAG_NAMED (1 << 1)
typedef struct {
uint32_t magic;
uint32_t value;