Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-04-04 17:12:40


Rob Desbois:

> If you can provide the ARM equivalent operation I would be extremely
> grateful, but I am unable to code it myself unfortunately.

I think that ARM (pre-v6) doesn't have an atomic fetch-and-add operation. It
only has an atomic swap. We'll have to use a spinlock.

It would be helpful if you can try whether
libs/smart_ptr/test/spinlock_test.cpp from the current SVN trunk compiles
and works for you.


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