|
Boost : |
Subject: Re: [boost] [Thread] Doc bug?
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2014-01-07 12:51:03
Jonathan Wakely <jwakely.boost_at_[hidden]> writes:
> On 7 January 2014 16:11, Alexander Lamaison wrote:
>> The docs [1] 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
>>> joinable.
>>
>> 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:
> http://www.boost.org/doc/libs/1_55_0/doc/html/thread/thread_management.html#thread.thread_management.thread.destructor
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.
Thanks,
Alex
-- Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk