Boost logo

Boost :

Subject: Re: [boost] clang-3.6 threadsanitizercomplainsonshared_ptroperations
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-21 22:19:14


> Gaetano Mendola wrote:
> > So just to sum up:
> >
> > boost based version:
> > http://pastebin.com/zh0SPz5n WARNING
> > http://pastebin.com/zh0SPz5n + BOOST_SP_USE_STD_ATOMIC OK
> > http://pastebin.com/zh0SPz5n + BOOST_SP_USE_PTHREADS OK
>
> Thanks, that explains it, then. I should probably enable this by default,
> but we still might need to sort out a few configuration issues before
> that.

I've added a clang-specific implementation:

https://github.com/boostorg/smart_ptr/commit/75de3dbcf1379119ee21a8029845c65fb8ce38a6

This should be warning-free with the thread sanitizer.


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