[dpdk-dev] [PATCH v2 2/3] meson: use threads dependency as provided by meson

Nick Connolly nick.connolly at mayadata.io
Mon Mar 22 17:04:02 CET 2021


> meson guarantees this is portable, so this also allows us to remove a
> is_windows switch.
Hi Gabriel,

On Windows, there are at least three different compilation options:

  * MinGW-w64 with posix threads
  * MinGW-w64 with win32 threads (different download)
  * Clang without threads support

The Windows EAL library doesn't use a threads package and instead uses 
it's own wrappers around the native Windows system calls. Given that, I 
believe the existing behaviour of not specifying the pthreads package 
for a Windows build is correct and shouldn't be changed.

Regards,
Nick


More information about the dev mailing list