Boost logo

Boost :

From: Michael Marcin (mmarcin_at_[hidden])
Date: 2007-09-28 16:18:35


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk