test/rcu: use compiler atomics for data sync
authorJoyce Kong <joyce.kong@arm.com>
Tue, 20 Jul 2021 03:51:25 +0000 (22:51 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 30 Jul 2021 21:56:07 +0000 (23:56 +0200)
commit9f76c60286574622c234bc9769f5ebecdfba99fa
tree7a61e363014f232d43cc2cc64d9bd949c1849207
parent8c816dc54d3b047ad6943ff6f3aa941cb529e947
test/rcu: use compiler atomics for data sync

Covert rte_atomic usages to compiler atomic built-ins in
rcu_perf testcases.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
app/test/test_rcu_qsbr_perf.c