comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: GNAT.Sockets: Timeval_Duration is in milliseconds?
Date: Sun, 09 Dec 2007 13:46:13 -0600
Date: 2007-12-09T13:46:13-06:00	[thread overview]
Message-ID: <ibednVSBWpSY28HanZ2dnUVZ_sqinZ2d@comcast.com> (raw)
In-Reply-To: m2bq8ziv1z.fsf@mac.com

> *If* a Timeval_Duration was in units of milliseconds you would be
>  completely right. But it is in seconds, just as it should be.
  So regardless of where it occurs in the program, the statement
T2 := T1 + Duration'(1.0);
will result in T2 being one second later than T1 - it will never
make T2 one millisecond later than T1.
That's a relief.



  parent reply	other threads:[~2007-12-09 19:46 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-08 19:45 GNAT.Sockets: Timeval_Duration is in milliseconds? gpriv
2007-12-08 22:11 ` Simon Wright
2007-12-08 22:34   ` gpriv
2007-12-09  1:45     ` tmoran
2007-12-09  9:33       ` Dmitry A. Kazakov
2007-12-09 12:50         ` Gautier
2007-12-09 13:37           ` Dmitry A. Kazakov
2007-12-09 14:59             ` Martin Krischik
2007-12-09 17:24               ` Dmitry A. Kazakov
2007-12-09 15:55         ` gpriv
2007-12-09 17:25           ` Dmitry A. Kazakov
2007-12-09 18:26     ` Simon Wright
2007-12-09 19:36       ` gpriv
2007-12-09 22:51         ` Simon Wright
2007-12-09 23:27           ` gpriv
2007-12-10 20:06             ` Simon Wright
2007-12-10 21:02               ` gpriv
2007-12-11 20:33                 ` Simon Wright
2007-12-13  3:44                   ` gpriv
2007-12-13 13:13                     ` Simon Wright
2007-12-13 14:32                       ` gpriv
2007-12-09 19:46       ` tmoran [this message]
2007-12-09  9:01   ` Martin Krischik
2007-12-09  9:32 ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox