[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-devtools
Subject: Re: HPUX-DEVTOOLS: Atomic instructions
From: "Paul Dembry" <pade () trifox ! com>
Date: 2001-03-23 16:34:53
[Download RAW message or body]
> I want to know if HP processor pa-risc2.0 offer you as atomic instructions
> more than "load and clear". I saw that sparc, mips have CAS-compare and
> swap or Load Linked/Jump conditional.
> Or if pa2.0 doesn't have these instructions there are ways to simulate
> them ?
I recall doing a cas-type operation by setting the code critical, doing the
cas equivalent instructions and then resetting the critical section. This
was for ALLBASE back in 85 so perhaps there is a better way now.
Paul
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE hpux-devtools
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic