Boost logo

Boost :

Subject: [boost] status of sp_counted_base_solaris.hpp
From: Graham Bennett (graham-boost_at_[hidden])
Date: 2011-01-10 15:41:53

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:, 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.

I'm considering modifying my boost installation to include this header
on Solaris - does anyone know of any issues with the code, or can they
confirm that it has been well tested? Are there any other reasons for
its omission?



Graham Bennett

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