
28 Sep
2007
28 Sep
'07
3:08 p.m.
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. Phil.