There is experimental support for std::thread
in for MinGW-w64 toolchains.
Specifically, my GCC 4.6 builds provide usable std::thread
through MinGW-w64's winpthreads library.
You can find downloads here:
Apart from that, MSVC11 (Visual Studio 2012) has <thread>
, <chrono>
, and <atomic>
. You can download the Express edition here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…