Table of Contents

Name

qlfqueue_empty - test whether a lock-free queue is empty

Synopsis

#include <qthread/qlfqueue.h>

int
qlfqueue_empty (qlfqueue_t *q);

Description

This function checks whether the given qlfqueue is empty.

Return Value

The return value will be 1 if the queue is empty, or 0 otherwise.

See Also

qdqueue_empty(3) , qlfqueue_create(3) , qlfqueue_enqueue(3) , qlfqueue_dequeue(3) , qlfqueue_destroy(3)


Table of Contents