examples/server_node_efd: use compiler atomics for sync
authorJoyce Kong <joyce.kong@arm.com>
Wed, 13 Oct 2021 18:54:06 +0000 (13:54 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 19 Oct 2021 15:16:57 +0000 (17:16 +0200)
commit4773be58753ab83711f9fba871dc67b8a87fc516
tree17add48a101532e113788723356b227e2db09132
parent14215f34e8a4126c9d1b1df37600787c6996098c
examples/server_node_efd: use compiler atomics for sync

Convert rte_atomic32_test_and_set to compiler CAS atomic
operation for display_stats sync.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
examples/server_node_efd/server/main.c