This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: timeval == POSIX == nonportable
- From: Tom Tromey <tromey at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: 11 Feb 2002 20:35:35 -0700
- Subject: Re: timeval == POSIX == nonportable
- References: <86lmdzfnlt.fsf@megacz.com>
- Reply-to: tromey at redhat dot com
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
Adam> Um, could we use something other than "struct timeval" for
Adam> _Jv_platform_getTimeOfDay? Struct timeval only exists on POSIX.
I decided to do this since first it was simpler and second platforms
without struct timeval can simply define it.
Adam> What's wrong with using a jlong of seconds since the epoch? AFAIK Java
Adam> doesn't have sub-millisecond timing.
Probably nothing.
Tom