diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-07-14 03:31:12 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-21 16:39:22 +0200 |
commit | 01f0ae20b68c4da3156ee40768da432d411c7e13 (patch) | |
tree | cf803a57fc73b1e4fe8cf70ac680197aaf0720dd /Userland/Libraries/LibC/semaphore.h | |
parent | 23f3857cdd404275044be599666081e1a8a7a287 (diff) | |
download | serenity-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.h | 1 |
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; |