Subject: Re: [boost] [Thread] Doc bug?
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2014-01-14 00:14:03
On 8/01/2014 06:51, Quoth Alexander Lamaison:
> Jonathan Wakely <jwakely.boost_at_[hidden]> writes:
>> On 7 January 2014 16:11, Alexander Lamaison wrote:
>>> The docs  for the `scoped_thread` and `strict_scoped_thread` says
>>>> "While thread call std::terminate() on the destructor is the thread is
>>>> joinable, strict_scoped_thread<> or scoped_thread<> join the thread if
>>> Several other places on the page say something similar.
>>> I was under in the impression that Boost.Thread had toyed with adopting
>>> this behaviour to match `std::thread` but decided against it after
>>> complaints on this list. Am I wrong?
>> It depends on a macro, but the non-standard behaviour is deprecated:
> Hmmm, could have sworn I remembered the decision being reversed
> completely. Don't get me wrong, I'm glad it's being changed. Just not
> what I remembered.
The decision to make the default be the standard-compliant but
prior-code-breaking version was reversed.
Boost users currently have to explicitly opt in to Boost.Thread > 2 to
get the std::thread behaviour.
I'm not sure what's going to happen if those deprecations result in
actually removing the code in a future version of Boost, though.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk