Function pcqueue_timedpop
Defined in File pcqueue.h
Function Documentation
-
status_t pcqueue_timedpop(struct pcqueue *pcqueue, const struct timespec *to, void *e)
Pop and return the first element in the queue, waiting until the timeout if necessary for the queue to become non-empty.
- Parameters:
pcqueue – The queue handle.
to – A RELATIVE timeout.
e – The item to dequeue. Can be NULL.
- Returns: