*/
#include <urcu/uatomic.h>
-#include <urcu/wfstack.h>
+#include <urcu/lfstack.h>
#include <urcu/waitqueue-lifo.h>
#include <urcu/wfcqueue.h>
#include <urcu/rculist.h>
*/
if (cds_wfcq_empty(&sibling->head, &sibling->tail))
return false;
- cds_wfcq_dequeue_lock(&sibling->head, &sibling->tail);
- splice_ret = __cds_wfcq_splice_blocking(&worker->head,
+ splice_ret = cds_wfcq_splice_blocking(&worker->head,
&worker->tail,
&sibling->head,
&sibling->tail);
- cds_wfcq_dequeue_unlock(&sibling->head, &sibling->tail);
/* Ensure that we preserve FIFO work order. */
assert(splice_ret != CDS_WFCQ_RET_DEST_NON_EMPTY);
return splice_ret != CDS_WFCQ_RET_SRC_EMPTY;
* NULL next pointer. We are therefore not in
* the queue.
*/
- cds_wfs_node_init(&worker->wait_node.node);
+ cds_lfs_node_init(&worker->wait_node.node);
/* Protect stack dequeue against ABA */
synchronize_rcu();
was_empty = !urcu_wait_add(&queue->waitqueue,