
28 Sep
2007
28 Sep
'07
8:18 p.m.
Phil Endecott wrote:
Ion Gazta?aga wrote:
Since there is no atomic operations library in Boost I use my own atomic operations (taken from apache):
http://svn.boost.org/svn/boost/trunk/boost/interprocess/detail/atomic.hpp
It would be great to make this a publicly-visible library, rather than an implementation detail of interprocess. That would avoid duplication of effort in e.g. shared_ptr.
Note that recent-ish versions of gcc have builtins for atomic operations on many platforms.
Have you seen Matt Calabrese's work? http://lists.boost.org/Archives/boost/2007/07/124651.php - Michael Marcin