test/stack_perf: use compiler atomics for lcore sync
authorJoyce Kong <joyce.kong@arm.com>
Wed, 17 Nov 2021 08:21:52 +0000 (08:21 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 17 Nov 2021 10:07:06 +0000 (11:07 +0100)
commite64f423b1217305ad00faf019cf13e69c69226b2
tree0c3976b21062ee3b1b3005afb7bf016166f97380
parent4c6b0e9b4591e2c5fe20f45833752a7c9d54893f
test/stack_perf: use compiler atomics for lcore sync

Convert rte_atomic usages to compiler atomic built-ins
for lcore sync in stack_perf test cases.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
app/test/test_stack_perf.c