X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=wfqueue.c;h=dc7bdfc50f1dde9272a61e9ab766cdb16eceb32c;hp=d22aa7cfe9a0a754fc5e7f05d9d32bc9ff00492e;hb=5e77fc1f94c3572fca067d37667d74f8165e2434;hpb=4d001e962e4f54d5128ac55bf03fdef77e41aa58 diff --git a/wfqueue.c b/wfqueue.c index d22aa7c..dc7bdfc 100644 --- a/wfqueue.c +++ b/wfqueue.c @@ -28,22 +28,27 @@ * library wrappers to be used by non-LGPL compatible source code. */ -void wfq_node_init(struct wfq_node *node) +void cds_wfq_node_init(struct cds_wfq_node *node) { - _wfq_node_init(node); + _cds_wfq_node_init(node); } -void wfq_init(struct wfq_queue *q) +void cds_wfq_init(struct cds_wfq_queue *q) { - _wfq_init(q); + _cds_wfq_init(q); } -void wfq_enqueue(struct wfq_queue *q, struct wfq_node *node) +void cds_wfq_enqueue(struct cds_wfq_queue *q, struct cds_wfq_node *node) { - _wfq_enqueue(q, node); + _cds_wfq_enqueue(q, node); } -struct wfq_node *wfq_dequeue_blocking(struct wfq_queue *q) +struct cds_wfq_node *__cds_wfq_dequeue_blocking(struct cds_wfq_queue *q) { - return _wfq_dequeue_blocking(q); + return ___cds_wfq_dequeue_blocking(q); +} + +struct cds_wfq_node *cds_wfq_dequeue_blocking(struct cds_wfq_queue *q) +{ + return _cds_wfq_dequeue_blocking(q); }