
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. Ion