Table of Contents

Name

qlfqueue_dequeue - remove an element from a lock-free queue

Synopsis

#include <qthread/qlfqueue.h>

void *
qlfqueue_dequeue (qlfqueue_t *q);

Description

This function removes an element from the queue and returns a pointer to it.

Return Value

The return value is one of the pointers that was enqueued in the queue.

See Also

qdqueue_dequeue(3) , qlfqueue_create(3) , qlfqueue_enqueue(3) , qlfqueue_destroy(3) , qlfqueue_empty(3)


Table of Contents