Function pcqueue_pop

Function Documentation

status_t pcqueue_pop(struct pcqueue *pcqueue, void *e)

Pop and return the first element in the queue, waiting if necessary for the queue to become non-empty.

Parameters:
  • pcqueue – The queue handle.

  • e – The item to dequeue. Can be NULL.

Returns:

status_t.