implement POSIX semaphores
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include <semaphore.h>
|
||||
|
||||
int sem_wait(sem_t *sem)
|
||||
{
|
||||
return sem_timedwait(sem, 0);
|
||||
}
|
||||
Reference in New Issue
Block a user