X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=rcutorture.h;h=e123559103c669fcf2ceadfb673fe0616e2e0010;hp=8681ef78bbdd6eb69c8127b5de8690d1faacb5bc;hb=121a5d44c8cc7197116df73854cb94c6cfbad0b0;hpb=ad7de003b45b3a7339b90208c321517c2dcbdc3e diff --git a/rcutorture.h b/rcutorture.h index 8681ef7..e123559 100644 --- a/rcutorture.h +++ b/rcutorture.h @@ -114,7 +114,7 @@ void *rcu_read_perf_test(void *arg) int me = (long)arg; long long n_reads_local = 0; - urcu_register_thread(); + rcu_register_thread(); run_on(me); atomic_inc(&nthreadsrunning); while (goflag == GOFLAG_INIT) @@ -132,7 +132,7 @@ void *rcu_read_perf_test(void *arg) } __get_thread_var(n_reads_pt) += n_reads_local; put_thread_offline(); - urcu_unregister_thread(); + rcu_unregister_thread(); return (NULL); } @@ -258,7 +258,7 @@ void *rcu_read_stress_test(void *arg) struct rcu_stress *p; int pc; - urcu_register_thread(); + rcu_register_thread(); while (goflag == GOFLAG_INIT) poll(NULL, 0, 1); mark_rcu_quiescent_state(); @@ -285,7 +285,7 @@ void *rcu_read_stress_test(void *arg) } } put_thread_offline(); - urcu_unregister_thread(); + rcu_unregister_thread(); return (NULL); }