HI! I'm on an old computer running windows XP and I'm trying to check out the new multi-threading features of c++11, but Code::Blocks doesn't recognize the <thread> header file... is it my compiler, or do you have any suggestions on how I should proceed?
I did have this problem. The reason is that due to gcc not having support for multithreading yet, the Win32 thread build of MinGW doesn't appear to support threading either. If you still want to try multithreading with MinGW, you would have to build MinGW as the POSIX-threads version.
I downloaded the latest version of MinGW (the 32bits version, not the 64) and plugged it to Code::Blocks, and it seems to work!
I only tried std::thread::hardware_concurrency() though, but it reflected the resources of my computer, so I guess the whole <thread> header works as well... :-)