[PATCH] eal: fix msvc conditional compile of rte atomic thread fence

Thomas Monjalon thomas at monjalon.net
Wed Nov 8 14:40:42 CET 2023


08/11/2023 09:27, Morten Brørup:
> > From: Tyler Retzlaff [mailto:roretzla at linux.microsoft.com]
> > Sent: Tuesday, 7 November 2023 21.00
> > 
> > MSVC does not expose legacy atomics. When the legacy atomics were
> > excluded rte_atomic_thread_fence was also unintentionally excluded
> > 
> > Adjust the conditional compilation check to expose
> > rte_atomic_thread_fence.
> > 
> > Fixes: 27da6a123414 ("eal: hide legacy atomics API for MSVC")
> > 
> > Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> 
> Acked-by: Morten Brørup <mb at smartsharesystems.com>

Applied, thanks.




More information about the dev mailing list