Subject: Re: Atomic ops API
To: <>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-kern
Date: 03/16/2007 16:51:20
On Fri, Mar 16, 2007 at 10:21:10AM +0100, Johnny Billquist wrote:
> Jason Thorpe wrote:
> >
> >Anyway, I've decided to stick with "cas" as "compare-and-store".
> 
> I just came up with another question, by the way.
> What is the intended use for this function? Is it mostly for spinlocks?

I think you can implement some linked list manipulations with
CAS or CAS2.

	-is