examples/vm_power: use compiler atomics for sync
authorJoyce Kong <joyce.kong@arm.com>
Wed, 13 Oct 2021 18:54:05 +0000 (13:54 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 19 Oct 2021 15:16:54 +0000 (17:16 +0200)
commit14215f34e8a4126c9d1b1df37600787c6996098c
tree09c70d49802016c5b988796bf3cb7dfc955351e4
parent7383b25f4b60516f8d09fac4eab0958660d75f84
examples/vm_power: use compiler atomics for sync

Convert rte_atomic32_cmpset to compiler atomic CAS
operation for channel status sync.

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