sem_timedwait

Name

sem_timedwait -- operation on semaphore

Synopsis

#include <semaphore.h>
int sem_timedwait(sem_t *__restrict __sem, 
		  __const struct timespec *__restrict __abstime);

Description

sem_timedwait() waits for semaphore object SEM being posted. It is a new function from IEEE Std. 1003.1-200x that is similar to sem_wait but waits only until ABSTIME.