X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_qsbr_gc.c;h=875fd36c487113c58b37aa6909c6b64c9c835238;hp=1d74d1ad379c6c2fbe8361e7a52cc0c812d4a5e7;hb=5481ddb381061bda64aebc039900d21cac6a6caf;hpb=a50a7b4333a5039f1471c0b7cfbfb3d6dc5379fb diff --git a/tests/test_qsbr_gc.c b/tests/test_qsbr_gc.c index 1d74d1a..875fd36 100644 --- a/tests/test_qsbr_gc.c +++ b/tests/test_qsbr_gc.c @@ -3,7 +3,7 @@ * * Userspace RCU library - test program (with baatch reclamation) * - * Copyright February 2009 - Mathieu Desnoyers + * Copyright February 2009 - Mathieu Desnoyers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -203,7 +203,7 @@ void *thr_reader(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { _rcu_read_lock(); @@ -279,7 +279,7 @@ void *thr_writer(void *data) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { #ifndef TEST_LOCAL_GC @@ -444,7 +444,7 @@ int main(int argc, char **argv) exit(1); } - smp_mb(); + cmm_smp_mb(); test_go = 1;