On Tue, 11 Feb 2025 14:02:04 -0800
Andre Muezerie <andre...@linux.microsoft.com> 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 <andre...@linux.microsoft.com>

Prefer using RTE_ATOMIC() all teh time now.

Reply via email to