Table of Contents

Name

qlfqueue_enqueue - append an element to a lock-free queue

Synopsis

#include <qthread/qlfqueue.h>

int
qlfqueue_enqueue (qlfqueue_t *q, void *elem);

Description

This function appends elements to lock-free queues.

Return Value

The return value will be 0 for success, or will indicate an error.

Error Codes

Possible error codes are:
QTHREAD_BADARGS
This indicates that one of the input arguments was null.

See Also

qdqueue_enqueue(3) , qlfqueue_create(3) , qlfqueue_enqueue(3) , qlfqueue_dequeue(3) , qlfqueue_empty(3)


Table of Contents