X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_lfq.c;h=901bcaec9c7dc2602c578276fe589eb33d9c5141;hp=87c53b6c25460b89b1837dddf5cfe3ce1fa80471;hb=5481ddb381061bda64aebc039900d21cac6a6caf;hpb=21c0a9849be7342dbe4ea717cc1785bd133d5367 diff --git a/tests/test_urcu_lfq.c b/tests/test_urcu_lfq.c index 87c53b6..901bcae 100644 --- a/tests/test_urcu_lfq.c +++ b/tests/test_urcu_lfq.c @@ -170,7 +170,7 @@ void *thr_enqueuer(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { struct rcu_lfq_node *node = malloc(sizeof(*node)); @@ -223,7 +223,7 @@ void *thr_dequeuer(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { struct rcu_lfq_node *node = rcu_lfq_dequeue(&q, @@ -380,7 +380,7 @@ int main(int argc, char **argv) exit(1); } - smp_mb(); + cmm_smp_mb(); test_go = 1;