Boost logo

Boost :

Subject: Re: [boost] status of sp_counted_base_solaris.hpp
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2011-01-11 06:00:28

Graham Bennett wrote:
> 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

About a year ago I got excited by the idea that Helge Bahmann's
proposed Boost.Atomic library could become a single place for
platform-specific atomic code to live, rather than having it replicated
in each place that needs it (e.g. sp_counted_base). I even got as far
as writing an sp_counted_base that used Boost.Atomic.

I don't know what has stalled Boost.Atomic, but I still think this is a
good approach. So rather than modifying sp_counted_base you might
consider making Boost.Atomic work on your platform, especially if there
are other things in your code that need atomic ops.

Regards, Phil.

Boost list run by bdawes at, gregod at, cpdaniel at, john at