Subject: Re: Atomic ops API
To: None <tlaronde@polynum.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 03/13/2007 09:34:28
On Mar 13, 2007, at 9:17 AM, tlaronde@polynum.com wrote:

> cas is "compare and swap" from Solaris Internals, second edition, page
> 820.

Yes, I know that's what Solaris means by it.  I just don't want to  
return the old value, so the semantics of what I'm proposing really  
are "compare-and-store", even if, underneath, compare-and-swap is what  
the CPU has.

>
>
> Regards,
> -- 
> Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
>                 http://www.kergis.com/
> Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

-- thorpej