
On Mon, Dec 31, 2012 at 6:08 PM, Tim Blechmann <tim@klingt.org> wrote:
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)
Wouldn't it be simpler to use boost::thread in all cases? Anyway, conditionally using boost or std::thread does not require these breaking changes, does it? -- Olaf