1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

LibPthread: Support process-shared semaphores

This commit is contained in:
Idan Horowitz 2022-07-14 03:07:06 +03:00 committed by Andreas Kling
parent 3f838768d9
commit 35789f56a5
2 changed files with 8 additions and 9 deletions

View file

@ -13,9 +13,11 @@
__BEGIN_DECLS
#define SEM_FLAG_PROCESS_SHARED (1 << 0)
typedef struct {
uint32_t magic;
uint32_t value;
uint8_t flags;
} sem_t;
int sem_close(sem_t*);