Boost logo

Boost :

Subject: Re: [boost] [atomic] review results
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-11-07 16:48:21

El 07/11/2011 21:11, Helge Bahmann escribió:
> Hi all and especially Tim,
> [...]
>> shared memory support/multi-module support:
>> in multi-module applications and when using shared memory, the blocking
>> emulation of atomics can cause troubles. for multi-module applications this
>> can be resolved by placing the spinlock pool inside a shared library.
>> shared- memory support could be realized by associating a (spin)lock with
>> each blocking atomic<> instead of using a pool of spinlocks. boost should
>> definitely provide atomics which support shared memory, either by default
>> or by an additional implementation which is placed in the
>> boost::interprocess namespace.
> I would suggest putting it into boost::interprocess, I will prepare an
> implementation and post it as well

Thanks, until now, I was using my own (I guess wrongly written) atomics
under boost/interprocess/detail/atomic.hpp, glad to see I can rely on
Boost.Atomic now.


Boost list run by bdawes at, gregod at, cpdaniel at, john at