From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8ee4430d1820a774 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!news.belwue.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: GNAT.Sockets: Timeval_Duration is in milliseconds? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <9d687056-c98b-405a-b166-afddac34f109@e67g2000hsc.googlegroups.com> Date: Sun, 9 Dec 2007 10:32:14 +0100 Message-ID: NNTP-Posting-Date: 09 Dec 2007 10:32:15 CET NNTP-Posting-Host: 01645267.newsspool1.arcor-online.net X-Trace: DXC=gVf[TZNAgWfFXUDVUnEXQmic==]BZ:afn4Fo<]lROoRa4nDHegD_]ReH<76jbD>bJhDNcfSJ;bb[eIRnRBaCd:V@h^1?`a X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:18796 Date: 2007-12-09T10:32:15+01:00 List-Id: On Sat, 8 Dec 2007 11:45:34 -0800 (PST), gpriv@axonx.com wrote: > I find it somewhat misleading that Timeout values use different scale > than Ada duration while share that type (not Ada way). Is there a > purpose in that (other than direct translation in socket library). It > does cost some headache to figure that out and it would be more > appropriate in Ada style to make a new type for timeouts or scale it > back to seconds. Anyone would agree? I do. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de