![]() |
Boost : |
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2007-09-28 11:08:08
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.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk