This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: timeval == POSIX == nonportable


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]