Boost logo

Boost :

Subject: Re: [boost] status of sp_counted_base_solaris.hpp
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-01-10 16:29:06


Graham Bennett wrote:
> Hi all,
>
> I'm interested in getting boost::shared_ptr to use atomic ops on Solaris.
> I notice there is an implementation using the OS-provided atomics in
> boost/detail/sp_counted_base_solaris.hpp, but it doesn't seem to be
> included. According to this thread:

> http://lists.boost.org/Archives/boost/2006/07/107144.php, it seems the
> reason might be that it wasn't possible to come up with a proper
> preprocessor condition to include it on the right versions of Solaris.

What implementation does your platform currently pick? There is also
sp_counted_base_gcc_sparc.hpp, which does use atomic operations.


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