lfstack: implement empty, pop_all and iterators, document API
[urcu.git] / tests / test_urcu_lfs.c
index 9af846d1c782a724caeb41306e39aa29352ac0c4..ec0fa13988d6f6525af33bc2dc6b0cf534710899 100644 (file)
@@ -237,7 +237,7 @@ void *thr_dequeuer(void *_count)
                struct cds_lfs_node *snode;
 
                rcu_read_lock();
                struct cds_lfs_node *snode;
 
                rcu_read_lock();
-               snode = cds_lfs_pop(&s);
+               snode = __cds_lfs_pop(&s);
                rcu_read_unlock();
                if (snode) {
                        struct test *node;
                rcu_read_unlock();
                if (snode) {
                        struct test *node;
@@ -269,7 +269,7 @@ void test_end(struct cds_lfs_stack *s, unsigned long long *nr_dequeues)
        struct cds_lfs_node *snode;
 
        do {
        struct cds_lfs_node *snode;
 
        do {
-               snode = cds_lfs_pop(s);
+               snode = __cds_lfs_pop(s);
                if (snode) {
                        struct test *node;
 
                if (snode) {
                        struct test *node;
 
This page took 0.023312 seconds and 4 git commands to generate.