test/service: use compiler atomics for lock sync
authorJoyce Kong <joyce.kong@arm.com>
Tue, 20 Jul 2021 03:51:24 +0000 (22:51 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 30 Jul 2021 21:56:03 +0000 (23:56 +0200)
commit8c816dc54d3b047ad6943ff6f3aa941cb529e947
tree3bc8f1eae475bbabd996f0621ef4f2555df63d46
parente9fea30314187cacd420253e79c7a90129652614
test/service: use compiler atomics for lock sync

Convert rte_atomic usages to compiler atomic built-ins for lock
sync in service_cores 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_service_cores.c