test/func_reentrancy: use compiler atomics for data sync
authorJoyce Kong <joyce.kong@arm.com>
Wed, 17 Nov 2021 08:21:54 +0000 (08:21 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 17 Nov 2021 10:07:06 +0000 (11:07 +0100)
commit3dd8b5b3899400851d38d839273dce110edd0911
treef61427794395be241f4581e1f5e9eef864666045
parent7e6533c1b62526b90ef6bce5a58227802c4a6bd4
test/func_reentrancy: use compiler atomics for data sync

Convert rte_atomic usages to compiler atomic built-ins
for shared data sync in func_reentrancy 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_func_reentrancy.c