X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest_urcu.c;h=eeea7f55e2253853323525ad94076a070390b14e;hb=5481ddb381061bda64aebc039900d21cac6a6caf;hp=1e64fc36d0cef58a2732d0316552004b9eb9ba76;hpb=2b514ae230510d5f7263f4aa55d633221340903f;p=urcu.git diff --git a/tests/test_urcu.c b/tests/test_urcu.c index 1e64fc3..eeea7f5 100644 --- a/tests/test_urcu.c +++ b/tests/test_urcu.c @@ -3,7 +3,7 @@ * * Userspace RCU library - test program * - * 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 @@ -231,7 +231,7 @@ void *thr_reader(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { rcu_read_lock(); @@ -273,7 +273,7 @@ void *thr_writer(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { new = test_array_alloc(); @@ -421,7 +421,7 @@ int main(int argc, char **argv) exit(1); } - smp_mb(); + cmm_smp_mb(); test_go = 1;