implement POSIX semaphores

This commit is contained in:
Rich Felker
2011-03-04 00:45:59 -05:00
parent 03dcc3417c
commit 6fc5fdbdc7
10 changed files with 201 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
#include <semaphore.h>
int sem_wait(sem_t *sem)
{
return sem_timedwait(sem, 0);
}