[concurrency-interest] Suggestion: .hardGet() for atomic variables

Raph Frank raphfrk at gmail.com
Thu Jan 19 15:55:52 EST 2012

On Thu, Jan 19, 2012 at 8:48 PM, Ruslan Cheremin <cheremin at gmail.com> wrote:
> current == value you've just read by .get() few lines ago.

Ahh, right.

For references, would .compareAndSet(null, null), also add in the syncing?

Does a compare and set that fails to update count as a write, or just a read?

More information about the Concurrency-interest mailing list