|
Boost : |
Subject: Re: [boost] Atomic Shared Ptr
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2017-06-17 20:35:15
On Fri, Jun 16, 2017 at 11:39 AM, Peter Dimov via Boost
<boost_at_[hidden]> wrote:
> Olaf van der Spek wrote:
>>
>> On Fri, Jun 16, 2017 at 2:42 PM, Peter Dimov via Boost
>> <boost_at_[hidden]> wrote:
>> >> Hi,
>> >>
>> >> Does Boost have anything like concurrency TS' atomic_shared_ptr?
>> >
>> >
>> > No, only >
>> > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2632.html
>>
>> Any plans to add it?
>> IMO it'd be nice to have.
>
>
> Sure, why not.
>
> https://github.com/boostorg/smart_ptr/commit/2964ed2379cf47778b18954b8d3501fa940c8754
>
>
I have enormous faith in you, however, this is the simplest
implementation I've seen. I assume that is because it is not
lock-free? Or is it because it doesn't actually work?
Tony
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk