
31 Dec
2012
31 Dec
'12
5:08 p.m.
Why would anyone writing new software on a modern platform use boost::thread rather than std::thread unless then actually wanted the old semantics, anyway?
because one might want to run on systems with an older toolchain? for one of my projects, i have to stay compatible with gcc-4.2 for older osx compilers and with mingw/gcc-4.4 ... being able to conditionally pull std::thread or boost::thread into scope helps me a LOT in the transition without breaking old compilers. there are a couple of other boost libraries which have the same purpose (atomic, chrono, move) tim