Is there any support for std :: thread in Mingw32?

Possible duplicate:
How to enable the experimental features of C ++ 0x concurrency in MinGW?

my version of mingw32 (gcc version 4.5.2) does not come with the std::thread class.

Is there a version of mingw32 that supports std::thread ?

+4
source share
2 answers

I assume that std :: thread came from boost, so you can always use boost for this, plus it comes with many useful bits

+1
source

Mingw32 is on the too conservative side as the updated compiler technology follows MinGW-w64, which is designed for both 32-bit and 64-bit architecture.

http://mingw-w64.sourceforge.net/

This limits you to Cygwin or Linux and others. Cross compiles; there is no choice for MSYS.

+1
source

Source: https://habr.com/ru/post/1369570/


All Articles