Lock free system under arm

Hi,

I have just discovered that boost shared pointers are not lock free under
arm as stated here :
http://www.boost.org/doc/libs/1_51_0/libs/smart_ptr/shared_ptr.htm

Starting with Boost release 1.33.0, *shared_ptr* uses a lock-free
implementation on the following platforms:

- GNU GCC on x86 or x86-64;
- GNU GCC on IA64;
- Metrowerks CodeWarrior on PowerPC;
- GNU GCC on PowerPC;
- Windows.

I think that ports lock free system rely on shared pointers. So I wonder
what's happening on an ARM ? Is the port communication still lock free ?

Lock free system under arm

On Wed, Oct 10, 2012 at 12:12 PM, Willy Lambert <lambert [dot] willy [..] ...> wrote:
> Hi,
>
> I have just discovered that boost shared pointers are not lock free under
> arm as stated here :
> http://www.boost.org/doc/libs/1_51_0/libs/smart_ptr/shared_ptr.htm
>
> Starting with Boost release 1.33.0, shared_ptr uses a lock-free
> implementation on the following platforms:
>
> GNU GCC on x86 or x86-64;
> GNU GCC on IA64;
> Metrowerks CodeWarrior on PowerPC;
> GNU GCC on PowerPC;
> Windows.
>
>
> I think that ports lock free system rely on shared pointers. So I wonder
> what's happening on an ARM ? Is the port communication still lock free ?

If you're using the os/oro_gcc layer and if it works for your ARM
processor, it will be. The shared pointers used internally are not
in/decremented during port communication.

Peter