Function bsem_timedwait
Defined in File bsem.h
Function Documentation
-
status_t bsem_timedwait(struct bsem *sem, const struct timespec *to)
Wait on binary semaphore with a timeout.
- Parameters:
sem – The semaphore handle.
to – A RELATIVE timeout, NOT an ABSOLUTE timeout, as the POSIX standard specifies. This function converts the relative timeout to absolute timeout required.
- Returns: