summaryrefslogblamecommitdiff
path: root/src/thread/sem_wait.c
blob: 264194f97cdedd6214c078edfb083c160aceb256 (plain) (tree)
1
2
3
4
5
6





                                     
#include <semaphore.h>

int sem_wait(sem_t *sem)
{
	return sem_timedwait(sem, 0);
}