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


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>


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