[PATCH 08/10] test-pmd: declare lcore_count atomic when using C11 memory model
fengchengwen
fengchengwen at huawei.com
Wed Feb 12 02:16:09 CET 2025
Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
On 2025/2/12 6:02, Andre Muezerie wrote:
> Compiling with MSVC results in the error below:
>
> app/test/test_ring_perf.c(197): error C7712: address argument to atomic
> operation must be a pointer to an atomic integer,
> 'volatile unsigned int *' is not valid
>
> The fix is to mark lcore_count as atomic when using C11 memory model.
>
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
More information about the dev
mailing list