[concurrency-interest] AtomicReference weakCompareAndSet "Mayfail spuriously"?

Bob Lee crazybob at crazybob.org
Mon May 15 17:48:54 EDT 2006


On 5/15/06, Doug Lea <dl at cs.oswego.edu> wrote:
> Yes, this is fine; it is a good example where either the plain or
> the weak form would work just as well, so you might as well use
> the weak form.

Can you please provide an example of when you'd use one or the other?

Bob



More information about the Concurrency-interest mailing list