Boost logo

Boost Users :

From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2005-09-08 10:45:25


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net