X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_wfs.c;h=294e95530c5444ce40fef2b65bf220cdc6e33640;hp=f50b1400ffdd95d847d19ef8e256677982ffd734;hb=5481ddb381061bda64aebc039900d21cac6a6caf;hpb=21c0a9849be7342dbe4ea717cc1785bd133d5367 diff --git a/tests/test_urcu_wfs.c b/tests/test_urcu_wfs.c index f50b140..294e955 100644 --- a/tests/test_urcu_wfs.c +++ b/tests/test_urcu_wfs.c @@ -167,7 +167,7 @@ void *thr_enqueuer(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { struct wfs_node *node = malloc(sizeof(*node)); @@ -207,7 +207,7 @@ void *thr_dequeuer(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { struct wfs_node *node = wfs_pop_blocking(&s); @@ -354,7 +354,7 @@ int main(int argc, char **argv) exit(1); } - smp_mb(); + cmm_smp_mb(); test_go = 1;