From: george.priv@gmail.com
Subject: Re: Ada.Real_Time behavior with GNAT
Date: Sat, 29 Mar 2008 14:21:45 -0700 (PDT)
Date: 2008-03-29T14:21:45-07:00 [thread overview]
Message-ID: <f3bdcdfe-052d-4707-a9e1-38111f145028@m71g2000hse.googlegroups.com> (raw)
In-Reply-To: 1b4dfb0b-ada6-416d-bb2a-f00d02a112c3@s13g2000prd.googlegroups.com
On Mar 29, 3:46 pm, Konrad Grzanek <kon...@gmail.com> wrote:
> > My explanation is that GNAT RTL is improperly elaborated under Windows.
> > Fortunately, a delay at the program beginning wakes it up.
>
> Thanks for such a quick response from all of you. I hope this will be
> fixed in some future compiler release. And it's not so much disturbing
> after all. I only wanted to confirm my initial suspicions. BTW is
> there any registry (FAQ) of such unexpected Ada compiler behaviors ?
It's even more interesting: My version worked but it is slightly
different from your original in that Timing is enclosed in Main
procedure. When I put Timing in separate package and it also worked
fine.
When I used your code exact it did show 0 time. It got to do with
elaboration sequence as was mentioned already. I think for practical
reasons real-time applications will be multi-package anyways, so I
would not worry about it much.
George.
next prev parent reply other threads:[~2008-03-29 21:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-29 13:51 Ada.Real_Time behavior with GNAT kongra
2008-03-29 16:50 ` george.priv
2008-03-29 17:29 ` Georg Bauhaus
2008-03-29 19:06 ` george.priv
2008-03-29 19:15 ` Konrad Grzanek
2008-03-29 18:11 ` Simon Wright
2008-03-29 18:25 ` Dmitry A. Kazakov
2008-03-29 19:46 ` Konrad Grzanek
2008-03-29 21:21 ` george.priv [this message]
2008-03-29 21:49 ` Konrad Grzanek
2008-03-30 0:14 ` Georg Bauhaus
2008-03-30 17:12 ` Semantics of statement reordering relevant to Ada.Real_Time Eric Hughes
2008-03-30 18:59 ` Robert A Duff
2008-03-30 21:12 ` Eric Hughes
2008-03-30 21:28 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox