X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=rcutorture.h;h=8681ef78bbdd6eb69c8127b5de8690d1faacb5bc;hb=3db2d75b432e617014976239f694b91de2bc0d7d;hp=8ba67637ae8927ee6b64487941ef7ba743287a92;hpb=b0b31506add8085c1f8839915f8e322d05d4fa4b;p=urcu.git 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) {