This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Atomic operations on the ARM
On Thu, Oct 03, 2002 at 11:31:15AM -0500, Benjamin Kosnik wrote:
>
> > 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?
This doesn't make sense. We have generic threading locks; yes, it's
heavyweight; but it works. Isn't correctness important?
Richard, does the problem with using swp in this context also affect
ARM/Linux? Glibc appears to use the just about the same code for
atomic operations.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer