[concurrency-interest] Re: SynchronizedLong vs. other locks

Aleksey Gureev spyromus at noizeramp.com
Fri Jul 8 10:57:36 EDT 2005

On Fri, 2005-07-08 at 10:49 -0400, Tim Peierls wrote:
> But can one always count on System.currentTimeMillis() in this way?

Sure. It's very convenient. For example, if you write an application and
you need some timestamp to mark the event time or something --
currentTimeMillis() is your best friend. Just don't make a mistake
thinking about it as a precise date and you'll find tons of other
applications. :)


More information about the Concurrency-interest mailing list