I am using GCC 4.5.0 with the Eclipse IDE (if that matters) on Windows via MinGW.
I\'m using the -std=c++0x flag.
-std=c++0x
I find that _GLIBCXX_HAS
_GLIBCXX_HAS
There is already a lightweight header-only library that implements std::thread and sync primitives in pure win32 API: https://github.com/meganz/mingw-std-threads
IT should work with any version of MinGW that has proper C++11 support.