This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: System.nanoTime
Tom Tromey wrote:
"Cédric" == Cédric Berger <cedric@berger.to> writes:
Cédric> I've not tested it, but by reading it, it looks perfect to me.
I'm checking it in.
Cool!
It should work fine on Solaris/*BSD/Linux.
Actually, thinking about it, the only problem could arise if one
platform for example defines CLOCK_MONOTONIC but does not implements
it in the clock_gettime() call (and returns -1)
If such a platform exists, then I guess a run-time fallback mechanism
would need to be added.
Cedric