X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_qsbr.c;h=1ef8c265895025a51021bf005b25eedeae546f98;hp=0101907b41071128aed9d5e91340e09551d82459;hb=06f22bdbb0c4c4d5db42a2e2dc35818aa61415be;hpb=6982d6d71aeed16d2d929bd0ed221e8f444b706e diff --git a/tests/test_qsbr.c b/tests/test_qsbr.c index 0101907..1ef8c26 100644 --- a/tests/test_qsbr.c +++ b/tests/test_qsbr.c @@ -83,7 +83,7 @@ static unsigned long wduration; static inline void loop_sleep(unsigned long l) { while(l-- != 0) - cpu_relax(); + caa_cpu_relax(); } static int verbose_mode; @@ -230,7 +230,7 @@ void *thr_reader(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { rcu_read_lock(); @@ -275,7 +275,7 @@ void *thr_writer(void *_count) while (!test_go) { } - smp_mb(); + cmm_smp_mb(); for (;;) { new = test_array_alloc(); @@ -424,7 +424,7 @@ int main(int argc, char **argv) exit(1); } - smp_mb(); + cmm_smp_mb(); test_go = 1;