This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
timeval == POSIX == nonportable
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 11 Feb 2002 18:19:42 -0800
- Subject: timeval == POSIX == nonportable
- Organization: Myself
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