Boost logo

Boost :

Subject: Re: [boost] Release managers: Boost.Thread breaking changes in 1.53
From: Olaf van der Spek (ml_at_[hidden])
Date: 2013-01-01 10:12:24


On Mon, Dec 31, 2012 at 6:08 PM, Tim Blechmann <tim_at_[hidden]> 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk