Table of Contents


qdqueue_create - allocate a distributed queue


#include <qthread/qdqueue.h>

qdqueue_t *
qdqueue_create (void);


This function initializes a qdqueue distributed queue object. This distributed queue is locality aware, and as such prioritizes "nearby" data over the globally oldest data. It provides an end-to-end ordering guarantee: elements enqueued from any given location may not be consumed out of order by any other single location.

See Also

qlfqueue_create(3) , qdqueue_destroy(3) , qdqueue_enqueue(3) , qdqueue_dequeue(3) , qdqueue_empty(3)

Table of Contents