mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:57:35 +00:00
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.
This commit is contained in:
parent
23f3857cdd
commit
01f0ae20b6
3 changed files with 179 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue