mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
LibPthread: Support process-shared semaphores
This commit is contained in:
parent
3f838768d9
commit
35789f56a5
2 changed files with 8 additions and 9 deletions
|
@ -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*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue