hg: lambda/lambda/jdk: Summary: add ThreadLocal(Factory<T>) and compareAndSet methods

Doug Lea dl at cs.oswego.edu
Mon Jul 30 06:05:22 PDT 2012


On 07/30/12 08:44, Aleksey Shipilev wrote:
> Exactly, lambda-enabled API is something useful for non-trivial
> operations. Increment modulo N is something I use here and there for
> number-based atomics. I'm actually looking forward for having updaters
> for reference-types atomics -- finally I can dump many of the hand-made
> spin-loops from the user code.

Great; now there will be more hidden spin loops in user code out there :-)

-Doug



More information about the lambda-dev mailing list