[concurrency-interest] atomicity and volatile

Dhanji R. Prasanna dhanji at gmail.com
Wed Mar 5 19:15:47 EST 2008

On Thu, Mar 6, 2008 at 11:14 AM, Bill Pugh <pugh at cs.umd.edu> wrote:

> Yep.
> Don't do that.
> Use AtomicInteger instead. Or use some form of locking/synchronization.

Gotcha, am writing about it so wanted a sanity check =)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20080306/72a74626/attachment.html 

More information about the Concurrency-interest mailing list