X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fwfqueue-static.h;h=0f7e68f7a40fea14b208708ae9bd7425b79d35b2;hp=8a4a7fd8e2017d405f43e1b59de86dafb9ec4c99;hb=b0dd35e28adda68dc6a564cf770a5d422d62259f;hpb=4d001e962e4f54d5128ac55bf03fdef77e41aa58 diff --git a/urcu/wfqueue-static.h b/urcu/wfqueue-static.h index 8a4a7fd..0f7e68f 100644 --- a/urcu/wfqueue-static.h +++ b/urcu/wfqueue-static.h @@ -91,7 +91,7 @@ void _wfq_enqueue(struct wfq_queue *q, struct wfq_node *node) * enqueue. */ struct wfq_node * -__wfq_dequeue_blocking(struct wfq_queue *q) +___wfq_dequeue_blocking(struct wfq_queue *q) { struct wfq_node *node, *next; int attempt = 0; @@ -123,7 +123,7 @@ __wfq_dequeue_blocking(struct wfq_queue *q) if (node == &q->dummy) { _wfq_node_init(node); _wfq_enqueue(q, node); - return __wfq_dequeue_blocking(q); + return ___wfq_dequeue_blocking(q); } return node; } @@ -136,7 +136,7 @@ _wfq_dequeue_blocking(struct wfq_queue *q) ret = pthread_mutex_lock(&q->lock); assert(!ret); - retnode = __wfq_dequeue_blocking(q); + retnode = ___wfq_dequeue_blocking(q); ret = pthread_mutex_unlock(&q->lock); assert(!ret); return retnode;