X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest_urcu_wfs.c;h=73655c1dcec7c6ffbb8b23f42d2acb544eb54ff0;hb=7ab587e26cf2474852b1f19189a958c31a5c6980;hp=4802ee73d7745a73340fa2767f295d605fb10eca;hpb=c91b00b73226a431d5f7d8e262950fd3e83f40f1;p=urcu.git diff --git a/tests/test_urcu_wfs.c b/tests/test_urcu_wfs.c index 4802ee7..73655c1 100644 --- a/tests/test_urcu_wfs.c +++ b/tests/test_urcu_wfs.c @@ -218,7 +218,7 @@ void *thr_dequeuer(void *_count) smp_mb(); for (;;) { - struct rcu_wfs_node *node = rcu_wfs_pop(&s); + struct rcu_wfs_node *node = rcu_wfs_pop_blocking(&s); if (node) { defer_rcu(free, node); @@ -249,7 +249,7 @@ void test_end(struct rcu_wfs_stack *s, unsigned long long *nr_dequeues) struct rcu_wfs_node *node; do { - node = rcu_wfs_pop(s); + node = rcu_wfs_pop_blocking(s); if (node) { free(node); (*nr_dequeues)++;