On Nov 6, 6:38 pm, "Clint Webb" <[EMAIL PROTECTED]> wrote:

> CAS does not stop the value from changing.  It stops you from setting a
> value if it has changed since you did a GET.  In which case you would need
> to handle it in whatever way suits your situation.

  Yes, this is correct.  It's not a lock, but it makes sure you
changed what you expected to change and does so atomically.

Reply via email to