On Feb 7, 2014, at 3:44 PM, Brian Goetz <brian.go...@oracle.com> wrote:

. . .
> As a limitation, I'd call out that its not obvious how this would scale to 
> DCAS.

Just off the top of my head:

  (var1, var2).doubleCompareAndSet(e1, e2, x1, x2)

thus providing access to a VolatileIntInt interface that provides the 
doubleCompareAndSet method.

—Guy

Reply via email to