Atomic swap
Marcel Moolenaar
marcel at xcllnt.net
Thu Aug 7 12:55:05 PDT 2003
On Thu, Aug 07, 2003 at 03:31:55PM -0400, Daniel Eischen wrote:
> > > > " stq t0,%3\n"
> > ^^^^^^^^^^^^^^^^^^^^
> >
> > Whoops, typo: %3 should be %2.
>
> Yup, I caught that but didn't want to complain when something
> is handed to me on a silver platter ;-)
As long as you saw it :-)
> Hmm, it would be nice just to have atomic_swap (or atomic_xchg,
> or whatever you want to call it) in <machine/atomic.h>.
Yes.
--
Marcel Moolenaar USPA: A-39004 marcel at xcllnt.net
More information about the freebsd-alpha
mailing list