Atomic operations on the ARM

Jason R Thorpe thorpej@wasabisystems.com
Fri Oct 4 10:21:00 GMT 2002


On Fri, Oct 04, 2002 at 11:09:05AM +0100, Richard Earnshaw wrote:

 > But really the above is just the same as using a mutex, since almost 
 > certainly a good threading implementation on the ARM would be already 
 > using swp to handle the mutex...

Well...

A restartable atomic sequence is faster on some ARM architecture CPUs
(and certainly all the ones I've tried it on), and would thus be preferable
on a uniprocessor.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>



More information about the Libstdc++ mailing list