Subject: Re: [boost] status of sp_counted_base_solaris.hpp
From: Ivan Le Lann (ivan.lelann_at_[hidden])
Date: 2012-06-07 11:37:49


----- Mail original -----
> De: "Graham Bennett" <graham-boost_at_[hidden]>
> À: boost_at_[hidden]
> Envoyé: Lundi 10 Janvier 2011 21:41:53
> Objet: [boost] status of sp_counted_base_solaris.hpp
>
> 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://listarchives.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.
>
> 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?

I tried on a real mt program and got random crashes with SIGBUS signals.
Sorry I have no simple test case at the moment.

SunOS 5.10 x86, Sunstudio 12, Boost 1.48.

Regards,
Ivan