Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2003 12:55:04 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        deischen@freebsd.org
Cc:        alpha@freebsd.org
Subject:   Re: Atomic swap
Message-ID:  <20030807195504.GA837@athlon.pn.xcllnt.net>
In-Reply-To: <Pine.GSO.4.10.10308071525370.4374-100000@pcnet5.pcnet.com>
References:  <20030807192426.GC559@athlon.pn.xcllnt.net> <Pine.GSO.4.10.10308071525370.4374-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@xcllnt.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030807195504.GA837>