This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Atomic operations on the ARM


> 
> > 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]