I\'m trying to cross-compile for Windows a simple application:
#include
void Func(){
return;
}
int main(){
std::thread thr1(Func);
thr
There is already a better option: https://github.com/meganz/mingw-std-threads This is a lightweight win32 native implementation of the most used threading and synchronization C++11 classes for MinGW. These are implemented in a header-only library that can co-exist with the system libs. It supports Windows XP as well, which does not have a direct analog of conditional variables.