examples/bbdev: use compiler atomics for flag sync
authorJoyce Kong <joyce.kong@arm.com>
Wed, 13 Oct 2021 18:54:00 +0000 (13:54 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 19 Oct 2021 15:15:53 +0000 (17:15 +0200)
commit5bd3c386b276482e423108676b0c3b12b4cfb2e6
tree147a222203b05a6ca739debc92d9b32ed8599227
parentee8cee83fe3ddc855ac9fa67afb71f325435bffd
examples/bbdev: use compiler atomics for flag sync

Convert rte_atomic usages to compiler atomic built-ins
for global_exit_flag sync.

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