LibC: Implement unnamed semaphores

This commit is contained in:
2025-11-02 21:11:04 +02:00
parent 7367672570
commit e258fde25a
2 changed files with 32 additions and 23 deletions

View File

@@ -10,7 +10,11 @@ __BEGIN_DECLS
#include <fcntl.h>
#include <time.h>
typedef void* sem_t;
typedef struct
{
int shared;
uint32_t value;
} sem_t;
#define SEM_FAILED ((sem_t*)0)