comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: GNAT.Sockets: Timeval_Duration is in milliseconds?
Date: Thu, 13 Dec 2007 13:13:56 +0000
Date: 2007-12-13T13:13:56+00:00	[thread overview]
Message-ID: <m28x3yhh4b.fsf@mac.com> (raw)
In-Reply-To: 9de762a3-bac6-4295-b321-3e8091baf28d@d27g2000prf.googlegroups.com

gpriv@axonx.com writes:

> On Dec 11, 3:33 pm, Simon Wright <simon.j.wri...@mac.com> wrote:
>> gp...@axonx.com writes:
>> > Yep, it worked:
>>
>> > ..done with EXPIRED after  4.999302724
>>
>> So GNAT GPL 2007 handles _this_ call right -- which functionality was
>> it you had the problem with? Do you have a test case?
>
>
> Linux update:
>
> Timeout value is in seconds here. So it is only a Windows problem as
> to be expected.

Looking at http://msdn2.microsoft.com/en-us/library/ms740141.aspx it
turns out that the Windows version of select(2) uses a struct timeval*
-- so not surprising that it behaves as we were expecting. Huh.

--S



  reply	other threads:[~2007-12-13 13:13 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 [this message]
2007-12-13 14:32                       ` gpriv
2007-12-09 19:46       ` tmoran
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