[concurrency-interest] Simple ScheduledFuture problem

David Holmes dcholmes at optusnet.com.au
Tue Aug 22 20:06:53 EDT 2006

> Dhanji R. Prasanna writes:
> Im curious, what is the purpose of declaring flag volatile AND
> synchronizing setter access to it?

It gives you a simple/crude read/write lock.

David Holmes

More information about the Concurrency-interest mailing list