X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=rcutorture.h;h=8681ef78bbdd6eb69c8127b5de8690d1faacb5bc;hp=8ba67637ae8927ee6b64487941ef7ba743287a92;hb=2d6debff95ad695255d2ea9d590d1e418590b238;hpb=5873cd17404d996680e6afc2f11c2a3ee9b354fa diff --git a/rcutorture.h b/rcutorture.h index 8ba6763..8681ef7 100644 --- a/rcutorture.h +++ b/rcutorture.h @@ -116,7 +116,7 @@ void *rcu_read_perf_test(void *arg) urcu_register_thread(); run_on(me); - __atomic_inc(&nthreadsrunning); + atomic_inc(&nthreadsrunning); while (goflag == GOFLAG_INIT) poll(NULL, 0, 1); mark_rcu_quiescent_state(); @@ -141,7 +141,7 @@ void *rcu_update_perf_test(void *arg) { long long n_updates_local = 0; - __atomic_inc(&nthreadsrunning); + atomic_inc(&nthreadsrunning); while (goflag == GOFLAG_INIT) poll(NULL, 0, 1); while (goflag == GOFLAG_RUN) {