Reapply r201145 to lib/libc/gen/sem.c
This commit is contained in:
parent
ddbe48bd56
commit
233af5fd93
@ -106,7 +106,7 @@ typedef struct sem* sem_t;
|
||||
static sem_t sem_alloc(unsigned int value, semid_t semid, int system_sem);
|
||||
static void sem_free(sem_t sem);
|
||||
|
||||
static LIST_HEAD(, sem) named_sems = LIST_HEAD_INITIALIZER(&named_sems);
|
||||
static LIST_HEAD(, sem) named_sems = LIST_HEAD_INITIALIZER(named_sems);
|
||||
static pthread_mutex_t named_sems_mtx = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
FB10_COMPAT(_libc_sem_init_compat, sem_init);
|
||||
|
Loading…
x
Reference in New Issue
Block a user