[vlc-devel] [PATCH 2/2] demux: adaptive: use C++ wait conditions and lock
    Martin Storsjö 
    martin at martin.st
       
    Tue Feb 11 10:37:36 CET 2020
    
    
  
On Tue, 11 Feb 2020, Alexandre Janniaux wrote:
> Hi,
>
> Does it compile/link with the mingw docker image?
> Last time I tried using C++ thread tools, it wasn't but
> it was before the shift to C++14 so maybe tools have evolved.
The support for C++11 threads in libstdc++ on mingw isn't so much about 
the version of libstdc++ (or GCC), but it depends on which way libstdc++ 
was built. libstdc++ only supports C++11 thread primitives on mingw if 
built with winpthreads enabled. (This is the default in e.g. MSYS2, but 
not the default in e.g. debian provided cross compilers.)
(With libc++ in llvm-mingw, C++11 threads are always supported and doesn't 
rely on the external winpthreads library.)
// Martin
    
    
More information about the vlc-devel
mailing list