This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Atomic operations on the ARM
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Richard dot Earnshaw at arm dot com, rearnsha at arm dot com, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 03 Oct 2002 17:38:22 +0100
- Subject: Re: Atomic operations on the ARM
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
>
> > Sure, but if they don't work then there's not much point in them being
> > 'light-weight'!
>
> If they don't work, they shouldn't exist, and the generic routines
> (which do nothing, and are not atomic) should be used, period.
>
> Perhaps the arm configuration should just use the generics, hmm?
It effectively does, with the patch I've just committed -- the only
difference between arm/atomicity.h and generic/atomicity.h is a comment
explaining that SWP doesn't work.
R.