timeval == POSIX == nonportable

Adam Megacz gcj@lists.megacz.com
Mon Feb 11 18:42:00 GMT 2002


Um, could we use something other than "struct timeval" for
_Jv_platform_getTimeOfDay? Struct timeval only exists on POSIX.

Win32 has it (due to winsock), so this isn't urgent, but other
platforms might not have it.

What's wrong with using a jlong of seconds since the epoch? AFAIK Java
doesn't have sub-millisecond timing.

  - a

-- 
"In the dream, someone was asking me 'So what you're saying is that
 all your dreams are lucid?' 'Yes,' I replied 'except for this one.'"
                                                         -- epepke@k5



More information about the Java mailing list