8 Sep
2005
8 Sep
'05
3:45 p.m.
Paul Pogonyshev wrote:
Hi,
Is it possible that atomic operations in Boost are made available for library users? `shared_ptr' is good, but sometimes one might need the low-level operations too.
The atomic operations are likely to remain an internal detail as they are only available on some Boost platforms. You're probably better off investigating Hans Boehm's libatomic_ops (http://www.hpl.hp.com/research/linux/atomic_ops/). There is a rough proposed C++ interface for atomic ops at http://www.hpl.hp.com/personal/Hans_Boehm/c++mm/atomics.h.txt which I think is meant to implementable using libatomic_ops. http://www.hpl.hp.com/personal/Hans_Boehm/c++mm/atomics.h.txt Ben.