https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108326
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jamaika from comment #0) > Amateur questions > I know that creating exe files two years ago with <thread>, <mutex> with > _GLIBCXX_HAS_GTHREADS definition was impossible. This is just nonsense, so I assume you mean impossible when using mingw without libwinpthread. It works fine on most targets, and for mingw-w64 when using libwinpthread.